Closed Roh-codeur closed 11 months ago
I had a look at the docs
https://github.com/erdewit/ib_insync/blob/d31241f2fcb16f5a61dc075d6f458721cb95eebd/README.rst#L72
Looks like for historical data it could return -1, like it does in your example. My guess is this is related to Paper account
-1 seems to denote a "no data" condition. A bit strange for volume but it is what IB sends.
thanks mate! strange indeed. am wondering if this related to Paper account vs real account, when requesting historical data. current data has non-negative values for Volume. I am using Paper account.
hi
I am running the below piece of code. Not sure whether the issue is with IBKR or the lib. it seems to return valid values in barUpdate callback, however, the historical seem to have Volume as -1. is this something you can help with pls?
Output: