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.
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.