update on BID_ASK Parameter from IB doku 8.61:
http://www.ibinstitutions.com/en/software/apiReleaseNotes/api_86.php?ib_entity=inst
citation:
The “whatToShow” parameter determines the nature of the data
extracted , with allowable values being “TRADES,” “MIDPOINT,” “BID,”
“ASK,” or “BID_ASK.” Bars of the first four types contain the start
time, open, high, low, close, volume, and weighted average price
during the time slice in question. The contents of bars returned in
response to a BID_ASK query differ from those returned by the other
query types, in that the open and close values are actually the time
weighted average bid, and time weighted average offer, respectively.
This makes these bars identical in nature to TWS’s “BID_ASK”
candlestick chart bars.
citation end.
essence: -> the open and close values are actually the time weighted
average bid, and time weighted average offer, respectively.
I will use these values as the bid/ask values
If you want to have it the offer way as you proposed earlier I will
have to download BID separately and ASK separately. But this will make
things a lot more complicated.
please give feedback.