kumlien / fx2

fx trade, second try...
1 stars 0 forks source link

Fix scheduled fetching of (day) candles #9

Closed kumlien closed 8 years ago

kumlien commented 8 years ago

Check at regular intervals (more often than once a day). Keep track of latest complete day candle, if we get a new one: publish and store.

kumlien commented 8 years ago

We want to use 17:00 Stockholm time as daily alignment. In the call, use dailyAlignment=17&alignmentTimezone=Europe%2FStockholm Make the call at 17:01(Mon-Fri) with startDate=17.00 yesteraday&count=1 Make sure complete=true on the candle.

perberglund commented 8 years ago

perhaps not, as that would be in the middle of the new york trading session. Probably better to use 17:00 New york time. Probably...