Hello,
I am implementing an automated trading strategy for IB's API. Actually, I have an experienced programmer doing this.
My strategy requires about three months of historic data. Ideally, this should be 1-minute bars.
Can historic data be obtained via IB's API? If it cannot, how do systems typically handle this?
What I may do if I cannot get the historic data via IB's API is to do the front end analysis outside of the automated strategy and just input the results to the strategy in order to bootstrap it. Then, as time goes on the strategy will accumulate the necessary data to work on its own.
For example, I could analyze the historic data manually and input the results into the strategy. Alternatively, I could used another program, like TradeStation, to do the initial (first three months) of analysis and then import the results either manually (by typing the results into the IB API strategy manually) or automatically (by having TradeStation talk to the IB API strategy).
Or, I could provide the three months of raw historic data (unanalyzed) to the IB API strategy, such as by pre-loading it into an array.
In any instance, if anyone know whether or not it is possible to get historic data from IB's API, please let me know.
Norm
I am implementing an automated trading strategy for IB's API. Actually, I have an experienced programmer doing this.
My strategy requires about three months of historic data. Ideally, this should be 1-minute bars.
Can historic data be obtained via IB's API? If it cannot, how do systems typically handle this?
What I may do if I cannot get the historic data via IB's API is to do the front end analysis outside of the automated strategy and just input the results to the strategy in order to bootstrap it. Then, as time goes on the strategy will accumulate the necessary data to work on its own.
For example, I could analyze the historic data manually and input the results into the strategy. Alternatively, I could used another program, like TradeStation, to do the initial (first three months) of analysis and then import the results either manually (by typing the results into the IB API strategy manually) or automatically (by having TradeStation talk to the IB API strategy).
Or, I could provide the three months of raw historic data (unanalyzed) to the IB API strategy, such as by pre-loading it into an array.
In any instance, if anyone know whether or not it is possible to get historic data from IB's API, please let me know.
Norm