Author |
Topic: contracts List count is 0 (2 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
BBhaskar95 Posts: 1 Joined: Dec 08, 2010 |
when I try to get the list of Contracts available, I see that the list count is 0. Can you suggest what is wrong there?
Bhaskar Roy |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello,
initially, if you have no positions and orders, OECAPI doesn't load contracts (with some exceptions). To get contracts you need to use SymbolLookup or RequestContracts methods that download contracts from OEC server. Victor Vins Software Developer |
||||