pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
103 stars 17 forks source link

Ib mkt closed #271

Closed goodboy closed 2 years ago

goodboy commented 2 years ago

WIP fixes to make it possible to load OHLC history even when markets are closed.

We haven't yet done any introspection of symbol "market open hours" and instead have relied on whether or not a real-time quote arrives before starting up all data feed machinery. This patch instead allows loading history after a timeout so that the UI doesn't just hang 😂

ping @wattygetlood

goodboy commented 2 years ago

I've made follow up issue #276 to get this fully working, but for now I think this change is minor enough to just land and it at least does load price history during off hours.