https://www.interactivebrokers.com/en/index.php?f=5061&nhf=T Interactive brokers have introduced a python api. You may be able to download the demo and use it before opening an account.