pareeohnos / ktrade

A simple UI for managing your trades
MIT License
7 stars 5 forks source link

LOD is wrong #32

Closed pareeohnos closed 3 years ago

pareeohnos commented 3 years ago

When the app first starts up, it pulls in the last 20 days of bars and grabs the last one to get the LOD. TWS is reporting up to the time it was requested however, so this means the LOD is incorrect.

The app needs a better way of determining the LOD when it starts up, and also a way of refreshing this if the app is started before market opens.