happydasch / btoandav20

Support for Oanda-V20 API in backtrader
Apache License 2.0
131 stars 52 forks source link

Backfill data after a reconnect #50

Closed happydasch closed 4 years ago

happydasch commented 4 years ago

Feeds need to be notified about a broken connection and should fill missing data (from last received tick until first new tick) with candles. Check for backfill param.

Data feed should set it state to connection broken while there is no connection / stream available. After restoring connection it should backfill and when done it should set it state back to live.