How To Obtain News Contract Details From The Interactive Brokers Api?
I am trying to get news feed (Broad Tape) not specific to any equity but running into error after running this code from ibapi.client import EClient from ibapi.wrapper import EWra
Solution 1:
For broad tape news you use the function reqMktData
with the Contract object defined for the news provider.
contract = Contract()
contract.symbol = "BRFG:BRFG_ALL"
contract.secType = "NEWS"
contract.exchange = "BRFG"
reqMktData(1, contract, "mdoff,292", False, False, [])
Post a Comment for "How To Obtain News Contract Details From The Interactive Brokers Api?"