Here are some interesting questions about testing a bot:
1. Could historical data be converted into tws->api messages?
If so, what historical data is necessary?
2. How do the tws->api messages convey information like last price,
bid price, ask price, last size, bid size, ask size?
3. If historical data could be converted into tws->api messages,
which could then be replayed by toyTws, could toyTws be made
to accept orders from its client?
4. Does any sort of meaningful testing require timestamps
in the historical data?
5. If no. 3, above, could be done, could time be virtualized
to speed up testing? By "virtualized," I mean something
like doing a full day session in, say, one hour.
1. Could historical data be converted into tws->api messages?
If so, what historical data is necessary?
2. How do the tws->api messages convey information like last price,
bid price, ask price, last size, bid size, ask size?
3. If historical data could be converted into tws->api messages,
which could then be replayed by toyTws, could toyTws be made
to accept orders from its client?
4. Does any sort of meaningful testing require timestamps
in the historical data?
5. If no. 3, above, could be done, could time be virtualized
to speed up testing? By "virtualized," I mean something
like doing a full day session in, say, one hour.