vnpy / vnpy_ib

VeighNa框架的InteractiveBrokers交易接口
https://www.vnpy.com
MIT License
34 stars 31 forks source link

add connection_wait_time to query_history #43

Closed tornglintaffychen closed 5 months ago

tornglintaffychen commented 6 months ago

Allow pass in connection_wait_time instead of just default to 60. Without connection_wait_time it will just wait till something happens (according to class Condition def wait, "Wait until notified or until a timeout occurs.")

vnpy commented 5 months ago

Thanks for your PR.

query_history is a standard function provided by BaseGateway and does not support extra parameter for now.