Re: Timezones and price fetcher

2018-04-17 Thread Martin Blais
Fixed: https://bitbucket.org/blais/beancount/commits/2171ff658cc4ed507376fed1811b9e9b798fb30f Green CI build now: https://bitbucket.org/blais/beancount/addon/pipelines/home#!/results/17 On Sun, Apr 15, 2018 at 12:51 PM, Martin Michlmayr wrote: > * Martin Blais [2018-04-11 16:29]: > > You ask

Re: Timezones and price fetcher

2018-04-15 Thread Martin Blais
On Sun, Apr 15, 2018 at 12:51 PM, Martin Michlmayr wrote: > * Martin Blais [2018-04-11 16:29]: > > You ask at 14:00 in which timezone? US 14:00 or Europe 14:00? > > If you don't know the instrument trades in the US, you ask at 14:00 in > > Europe timezone? > > Sorry, I thought you told the API "

Re: Timezones and price fetcher

2018-04-15 Thread Martin Michlmayr
* Martin Blais [2018-04-11 16:29]: > You ask at 14:00 in which timezone? US 14:00 or Europe 14:00? > If you don't know the instrument trades in the US, you ask at 14:00 in > Europe timezone? Sorry, I thought you told the API "I want the exchange rate at 14:00 time". If so, we'd all get the same

Re: Timezones and price fetcher

2018-04-15 Thread Martin Blais
On Thu, Apr 12, 2018 at 2:15 AM, Justus Pendleton wrote: > I don't see "lining up with markets" as a necessary condition since that's > poorly defined for dealing with other timezones anyway. > > If I run bean-price when the market is open I'm going to get a quasi-real > time quote that is delaye

Re: Timezones and price fetcher

2018-04-11 Thread Martin Blais
On Wed, Apr 11, 2018 at 3:23 PM, Martin Michlmayr wrote: > * Martin Blais [2018-04-10 22:07]: > > Any thoughts welcome. I lean toward (B), but I'm annoyed. > > Maybe I misunderstand the problem, but with option (A) even if I don't > know what timezone they use, I should get a consistent result i

Re: Timezones and price fetcher

2018-04-11 Thread Martin Michlmayr
* Martin Blais [2018-04-10 22:07]: > Any thoughts welcome. I lean toward (B), but I'm annoyed. Maybe I misunderstand the problem, but with option (A) even if I don't know what timezone they use, I should get a consistent result if I ask the API for an exchange rate for a specific time (X) on a sp