Re: beancount.prices.sources.yahoo and beancount.prices.sources.google both failing this week

2018-10-04 Thread matthew . piziak
Thank you so much! Turns out I was being confused by conflicting Python 
environments on my machine. Classic.

On Thursday, October 4, 2018 at 7:37:31 PM UTC-4, Martin Blais wrote:
>
> bergamot [hg|new_ingest_mixins]:~/p/.../beancount/prices$ bean-price -e 
> USD:quandl/WIKI:AAPL
> 2018-03-26 price WIKI:AAPL  168.34 USD
>
>
> On Thu, Oct 4, 2018 at 7:36 PM Martin Blais > 
> wrote:
>
>> Yes, OANDA supports only currencies, it's a FOREX platform.
>> https://www.oanda.com/
>>
>> About "no module named" I have no idea, need more detail.
>> In general, each of these sources supports only a subset of instruments 
>> and you should be familiar with how they are indexed and specified on each 
>> source (e.g. query them using the particular source's website if possible.)
>> It may be useful to eventually allow them to provide a list of available 
>> instruments, but that may not be practical.
>>
>>
>>
>>
>>
>> On Thu, Oct 4, 2018 at 7:31 PM > 
>> wrote:
>>
>>> Oh, OANDA is only for currency comparisons? In any case I get "no module 
>>> named" errors for quandl and iex.
>>>
>>> On Thursday, October 4, 2018 at 7:27:13 PM UTC-4, matthew...@symbiont.io 
>>> wrote:

 I'd expect something like `bean-price -e "oanda/AAPL"` to work but it 
 throws `Invalid source "oanda/AAPL"`. Hmmm.

 On Thursday, October 4, 2018 at 7:24:22 PM UTC-4, 
 matthew...@symbiont.io wrote:
>
> I can't seem to compose a valid source query.
>
> On Thursday, October 4, 2018 at 7:17:21 PM UTC-4, 
> matthew...@symbiont.io wrote:
>>
>> Ah, here we go: 
>> https://bitbucket.org/blais/beancount/src/5a6ad02c213565a81a51d8a6d8e05fae18cefd83/beancount/prices/sources/?at=default
>>
>> On Thursday, October 4, 2018 at 7:16:34 PM UTC-4, 
>> matthew...@symbiont.io wrote:
>>>
>>> I'm on '2.1.2' right now. I've been using 
>>> https://aumayr.github.io/beancount-docs-static/contents.html for 
>>> docs.
>>>
>>> On Thursday, October 4, 2018 at 7:13:52 PM UTC-4, Martin Blais wrote:

 You need to update my friend, the google price source has been 
 deleted a long time ago...


 On Thu, Oct 4, 2018 at 7:10 PM  wrote:

> 2018-09-16 commodity AAPL
>   price: "USD:google/NASDAQ:AAPL,yahoo/AAPL"
>
> ERROR: Could not fetch for job: DatedPrice(base='APPL', quote=
> 'USD', date=None, sources=[PriceSource(module= 'beancount.prices.sources.google' from 
> '/nix/store/2zqliikznds9c8zrwzk1cpzal8d0j06y-beancount-2.0rc1/lib/python3.6/site-packages/beancount/prices/sources/google.py'
> >, symbol='NASDAQ:APPL', invert=False), PriceSource(module= 'beancount.prices.sources.yahoo' from 
> '/nix/store/2zqliikznds9c8zrwzk1cpzal8d0j06y-beancount-2.0rc1/lib/python3.6/site-packages/beancount/prices/sources/yahoo.py'
> >, symbol='APPL', invert=False)])
>
> Google hasn't been working for a while. Yahoo just started failing 
> this week. Are there any working price sources for `bean-price` now?
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, 
> send an email to beancount+...@googlegroups.com.
> To post to this group, send email to bean...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beancount/fef169f8-de5b-465e-82f2-3238a3198ccd%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
 -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Beancount" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to beancount+...@googlegroups.com .
>>> To post to this group, send email to bean...@googlegroups.com 
>>> .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/beancount/5ac71819-1fd7-47d7-999c-45a37bea18c7%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 

Re: beancount.prices.sources.yahoo and beancount.prices.sources.google both failing this week

2018-10-04 Thread Martin Blais
bergamot [hg|new_ingest_mixins]:~/p/.../beancount/prices$ bean-price -e
USD:quandl/WIKI:AAPL
2018-03-26 price WIKI:AAPL  168.34 USD


On Thu, Oct 4, 2018 at 7:36 PM Martin Blais  wrote:

> Yes, OANDA supports only currencies, it's a FOREX platform.
> https://www.oanda.com/
>
> About "no module named" I have no idea, need more detail.
> In general, each of these sources supports only a subset of instruments
> and you should be familiar with how they are indexed and specified on each
> source (e.g. query them using the particular source's website if possible.)
> It may be useful to eventually allow them to provide a list of available
> instruments, but that may not be practical.
>
>
>
>
>
> On Thu, Oct 4, 2018 at 7:31 PM  wrote:
>
>> Oh, OANDA is only for currency comparisons? In any case I get "no module
>> named" errors for quandl and iex.
>>
>> On Thursday, October 4, 2018 at 7:27:13 PM UTC-4, matthew...@symbiont.io
>> wrote:
>>>
>>> I'd expect something like `bean-price -e "oanda/AAPL"` to work but it
>>> throws `Invalid source "oanda/AAPL"`. Hmmm.
>>>
>>> On Thursday, October 4, 2018 at 7:24:22 PM UTC-4, matthew...@symbiont.io
>>> wrote:

 I can't seem to compose a valid source query.

 On Thursday, October 4, 2018 at 7:17:21 PM UTC-4,
 matthew...@symbiont.io wrote:
>
> Ah, here we go:
> https://bitbucket.org/blais/beancount/src/5a6ad02c213565a81a51d8a6d8e05fae18cefd83/beancount/prices/sources/?at=default
>
> On Thursday, October 4, 2018 at 7:16:34 PM UTC-4,
> matthew...@symbiont.io wrote:
>>
>> I'm on '2.1.2' right now. I've been using
>> https://aumayr.github.io/beancount-docs-static/contents.html for
>> docs.
>>
>> On Thursday, October 4, 2018 at 7:13:52 PM UTC-4, Martin Blais wrote:
>>>
>>> You need to update my friend, the google price source has been
>>> deleted a long time ago...
>>>
>>>
>>> On Thu, Oct 4, 2018 at 7:10 PM  wrote:
>>>
 2018-09-16 commodity AAPL
   price: "USD:google/NASDAQ:AAPL,yahoo/AAPL"

 ERROR: Could not fetch for job: DatedPrice(base='APPL', quote='USD'
 , date=None, sources=[PriceSource(module=>>> 'beancount.prices.sources.google' from
 '/nix/store/2zqliikznds9c8zrwzk1cpzal8d0j06y-beancount-2.0rc1/lib/python3.6/site-packages/beancount/prices/sources/google.py'
 >, symbol='NASDAQ:APPL', invert=False), PriceSource(module=>>> 'beancount.prices.sources.yahoo' from
 '/nix/store/2zqliikznds9c8zrwzk1cpzal8d0j06y-beancount-2.0rc1/lib/python3.6/site-packages/beancount/prices/sources/yahoo.py'
 >, symbol='APPL', invert=False)])

 Google hasn't been working for a while. Yahoo just started failing
 this week. Are there any working price sources for `bean-price` now?

 --
 You received this message because you are subscribed to the Google
 Groups "Beancount" group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to beancount+...@googlegroups.com.
 To post to this group, send email to bean...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/beancount/fef169f8-de5b-465e-82f2-3238a3198ccd%40googlegroups.com
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Beancount" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beancount+unsubscr...@googlegroups.com.
>> To post to this group, send email to beancount@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beancount/5ac71819-1fd7-47d7-999c-45a37bea18c7%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhNturT%2B4LYXs-8bjreGv_1dQk3iZ9HEWXpVbov8%2BWRYPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: beancount.prices.sources.yahoo and beancount.prices.sources.google both failing this week

2018-10-04 Thread matthew . piziak
Oh, OANDA is only for currency comparisons? In any case I get "no module 
named" errors for quandl and iex.

On Thursday, October 4, 2018 at 7:27:13 PM UTC-4, matthew...@symbiont.io 
wrote:
>
> I'd expect something like `bean-price -e "oanda/AAPL"` to work but it 
> throws `Invalid source "oanda/AAPL"`. Hmmm.
>
> On Thursday, October 4, 2018 at 7:24:22 PM UTC-4, matthew...@symbiont.io 
> wrote:
>>
>> I can't seem to compose a valid source query.
>>
>> On Thursday, October 4, 2018 at 7:17:21 PM UTC-4, matthew...@symbiont.io 
>> wrote:
>>>
>>> Ah, here we go: 
>>> https://bitbucket.org/blais/beancount/src/5a6ad02c213565a81a51d8a6d8e05fae18cefd83/beancount/prices/sources/?at=default
>>>
>>> On Thursday, October 4, 2018 at 7:16:34 PM UTC-4, matthew...@symbiont.io 
>>> wrote:

 I'm on '2.1.2' right now. I've been using 
 https://aumayr.github.io/beancount-docs-static/contents.html for docs.

 On Thursday, October 4, 2018 at 7:13:52 PM UTC-4, Martin Blais wrote:
>
> You need to update my friend, the google price source has been deleted 
> a long time ago...
>
>
> On Thu, Oct 4, 2018 at 7:10 PM  wrote:
>
>> 2018-09-16 commodity AAPL
>>   price: "USD:google/NASDAQ:AAPL,yahoo/AAPL"
>>
>> ERROR: Could not fetch for job: DatedPrice(base='APPL', quote='USD', 
>> date=None, sources=[PriceSource(module=> 'beancount.prices.sources.google' from 
>> '/nix/store/2zqliikznds9c8zrwzk1cpzal8d0j06y-beancount-2.0rc1/lib/python3.6/site-packages/beancount/prices/sources/google.py'
>> >, symbol='NASDAQ:APPL', invert=False), PriceSource(module=> 'beancount.prices.sources.yahoo' from 
>> '/nix/store/2zqliikznds9c8zrwzk1cpzal8d0j06y-beancount-2.0rc1/lib/python3.6/site-packages/beancount/prices/sources/yahoo.py'
>> >, symbol='APPL', invert=False)])
>>
>> Google hasn't been working for a while. Yahoo just started failing 
>> this week. Are there any working price sources for `bean-price` now?
>>
>> -- 
>> You received this message because you are subscribed to the Google 
>> Groups "Beancount" group.
>> To unsubscribe from this group and stop receiving emails from it, 
>> send an email to beancount+...@googlegroups.com.
>> To post to this group, send email to bean...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beancount/fef169f8-de5b-465e-82f2-3238a3198ccd%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/5ac71819-1fd7-47d7-999c-45a37bea18c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: beancount.prices.sources.yahoo and beancount.prices.sources.google both failing this week

2018-10-04 Thread matthew . piziak
I'd expect something like `bean-price -e "oanda/AAPL"` to work but it 
throws `Invalid source "oanda/AAPL"`. Hmmm.

On Thursday, October 4, 2018 at 7:24:22 PM UTC-4, matthew...@symbiont.io 
wrote:
>
> I can't seem to compose a valid source query.
>
> On Thursday, October 4, 2018 at 7:17:21 PM UTC-4, matthew...@symbiont.io 
> wrote:
>>
>> Ah, here we go: 
>> https://bitbucket.org/blais/beancount/src/5a6ad02c213565a81a51d8a6d8e05fae18cefd83/beancount/prices/sources/?at=default
>>
>> On Thursday, October 4, 2018 at 7:16:34 PM UTC-4, matthew...@symbiont.io 
>> wrote:
>>>
>>> I'm on '2.1.2' right now. I've been using 
>>> https://aumayr.github.io/beancount-docs-static/contents.html for docs.
>>>
>>> On Thursday, October 4, 2018 at 7:13:52 PM UTC-4, Martin Blais wrote:

 You need to update my friend, the google price source has been deleted 
 a long time ago...


 On Thu, Oct 4, 2018 at 7:10 PM  wrote:

> 2018-09-16 commodity AAPL
>   price: "USD:google/NASDAQ:AAPL,yahoo/AAPL"
>
> ERROR: Could not fetch for job: DatedPrice(base='APPL', quote='USD', 
> date=None, sources=[PriceSource(module= 'beancount.prices.sources.google' from 
> '/nix/store/2zqliikznds9c8zrwzk1cpzal8d0j06y-beancount-2.0rc1/lib/python3.6/site-packages/beancount/prices/sources/google.py'
> >, symbol='NASDAQ:APPL', invert=False), PriceSource(module= 'beancount.prices.sources.yahoo' from 
> '/nix/store/2zqliikznds9c8zrwzk1cpzal8d0j06y-beancount-2.0rc1/lib/python3.6/site-packages/beancount/prices/sources/yahoo.py'
> >, symbol='APPL', invert=False)])
>
> Google hasn't been working for a while. Yahoo just started failing 
> this week. Are there any working price sources for `bean-price` now?
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to beancount+...@googlegroups.com.
> To post to this group, send email to bean...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beancount/fef169f8-de5b-465e-82f2-3238a3198ccd%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/666e4c25-4815-4932-9eb1-bb655343311d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: beancount.prices.sources.yahoo and beancount.prices.sources.google both failing this week

2018-10-04 Thread matthew . piziak
I can't seem to compose a valid source query.

On Thursday, October 4, 2018 at 7:17:21 PM UTC-4, matthew...@symbiont.io 
wrote:
>
> Ah, here we go: 
> https://bitbucket.org/blais/beancount/src/5a6ad02c213565a81a51d8a6d8e05fae18cefd83/beancount/prices/sources/?at=default
>
> On Thursday, October 4, 2018 at 7:16:34 PM UTC-4, matthew...@symbiont.io 
> wrote:
>>
>> I'm on '2.1.2' right now. I've been using 
>> https://aumayr.github.io/beancount-docs-static/contents.html for docs.
>>
>> On Thursday, October 4, 2018 at 7:13:52 PM UTC-4, Martin Blais wrote:
>>>
>>> You need to update my friend, the google price source has been deleted a 
>>> long time ago...
>>>
>>>
>>> On Thu, Oct 4, 2018 at 7:10 PM  wrote:
>>>
 2018-09-16 commodity AAPL
   price: "USD:google/NASDAQ:AAPL,yahoo/AAPL"

 ERROR: Could not fetch for job: DatedPrice(base='APPL', quote='USD', 
 date=None, sources=[PriceSource(module=>>> 'beancount.prices.sources.google' from 
 '/nix/store/2zqliikznds9c8zrwzk1cpzal8d0j06y-beancount-2.0rc1/lib/python3.6/site-packages/beancount/prices/sources/google.py'
 >, symbol='NASDAQ:APPL', invert=False), PriceSource(module=>>> 'beancount.prices.sources.yahoo' from 
 '/nix/store/2zqliikznds9c8zrwzk1cpzal8d0j06y-beancount-2.0rc1/lib/python3.6/site-packages/beancount/prices/sources/yahoo.py'
 >, symbol='APPL', invert=False)])

 Google hasn't been working for a while. Yahoo just started failing this 
 week. Are there any working price sources for `bean-price` now?

 -- 
 You received this message because you are subscribed to the Google 
 Groups "Beancount" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to beancount+...@googlegroups.com.
 To post to this group, send email to bean...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/beancount/fef169f8-de5b-465e-82f2-3238a3198ccd%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/e5be2013-4b94-4aee-9ef8-29f92966ee81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: beancount.prices.sources.yahoo and beancount.prices.sources.google both failing this week

2018-10-04 Thread matthew . piziak
Ah, here we go: 
https://bitbucket.org/blais/beancount/src/5a6ad02c213565a81a51d8a6d8e05fae18cefd83/beancount/prices/sources/?at=default

On Thursday, October 4, 2018 at 7:16:34 PM UTC-4, matthew...@symbiont.io 
wrote:
>
> I'm on '2.1.2' right now. I've been using 
> https://aumayr.github.io/beancount-docs-static/contents.html for docs.
>
> On Thursday, October 4, 2018 at 7:13:52 PM UTC-4, Martin Blais wrote:
>>
>> You need to update my friend, the google price source has been deleted a 
>> long time ago...
>>
>>
>> On Thu, Oct 4, 2018 at 7:10 PM  wrote:
>>
>>> 2018-09-16 commodity AAPL
>>>   price: "USD:google/NASDAQ:AAPL,yahoo/AAPL"
>>>
>>> ERROR: Could not fetch for job: DatedPrice(base='APPL', quote='USD', 
>>> date=None, sources=[PriceSource(module=>> 'beancount.prices.sources.google' from 
>>> '/nix/store/2zqliikznds9c8zrwzk1cpzal8d0j06y-beancount-2.0rc1/lib/python3.6/site-packages/beancount/prices/sources/google.py'
>>> >, symbol='NASDAQ:APPL', invert=False), PriceSource(module=>> 'beancount.prices.sources.yahoo' from 
>>> '/nix/store/2zqliikznds9c8zrwzk1cpzal8d0j06y-beancount-2.0rc1/lib/python3.6/site-packages/beancount/prices/sources/yahoo.py'
>>> >, symbol='APPL', invert=False)])
>>>
>>> Google hasn't been working for a while. Yahoo just started failing this 
>>> week. Are there any working price sources for `bean-price` now?
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Beancount" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to beancount+...@googlegroups.com.
>>> To post to this group, send email to bean...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/beancount/fef169f8-de5b-465e-82f2-3238a3198ccd%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/cb654807-8f4e-4600-8e6f-fa72cef75162%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.