Add reqHistParam( ) to IBridgePy documentation 4/10/2017

reqHistParam IBridgePy Function for Historical Data

The reqHistParam documentation provides precise control over historical data requests from Interactive Brokers. This essential function for algorithmic trading allows custom bar sizes, timeframes, and data ranges.

reqHistParam documentation for historical data requests

reqHistParam Documentation: Parameters and Examples

Use reqHistParam to clearly define the parameters when you request historical data from IB.

EXCLUSIVE OFFER

Extra 7% OFF All Quantra Courses

Level up your quant trading skills with courses from Quantra by QuantInsti — Python for trading, machine learning strategies, options trading, and more.

HUI7 Browse Courses → Use code HUI7 at checkout

security: use symbol( ) or symbols( ) or superSymbol( ) to define security

barSize: 1 sec, 5 secs, 15 secs, 30 secs, 1 min, 2 mins, 3 mins, 5 mins, 15 mins, 30 mins, 1 hour, 1 day

goBack: Valid values include any integer followed by a space and then S (seconds), D (days) or W (week), for example, ’10 D’ stands for 10 days

Need help building this strategy?

Our Rent-a-Coder team builds custom automated trading programs. From simple scripts to complex multi-account strategies — we handle it all.

endTime: Defines a query end date and time at any point. Use python datetime object.

Learn more from Python official documentation.

EXCLUSIVE OFFER

Extra 7% OFF All Quantra Courses

Level up your quant trading skills with courses from Quantra by QuantInsti — Python for trading, machine learning strategies, options trading, and more.

HUI7 Browse Courses → Use code HUI7 at checkout

Ready to Automate Your Trading?

Download IBridgePy free or let our coders build your strategy.

Download Free Hire a Coder