Receiving Time and Sales data
Data is returned to unique functions based on what is requested in the whatToShow field.
- IBApi.EWrapper.historicalTicks for whatToShow=MIDPOINT
- IBApi.EWrapper.historicalTicksBidAsk for whatToShow=BID_ASK
- IBApi.EWrapper.historicalTicksLast for for whatToShow=TRADES
EWrapper.historicalTicks (
reqId: int, id of the request
ticks: ListOfHistoricalTick, object containing a list of tick values for the requested timeframe.
done: bool, return whether or not this is the end of the historical ticks requested.
)
For whatToShow=MIDPOINT
Python
Java
C++
C#
VB.NET
EWrapper.historicalTicksBidAsk (
reqId: int, id of the request
ticks: ListOfHistoricalTick, object containing a list of tick values for the requested timeframe.
done: bool, return whether or not this is the end of the historical ticks requested.
)
For whatToShow=BidAsk
Python
Java
C++
C#
VB.NET
EWrapper.historicalTicksLast (
reqId: int, id of the request
ticks: ListOfHistoricalTick, object containing a list of tick values for the requested timeframe.
done: bool, return whether or not this is the end of the historical ticks requested.
)
For whatToShow=Last & AllLast

