Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. // this works fine:
  2.  
  3. Contract c;
  4. c.symbol = "IBM";
  5. c.secType = "OPT";
  6. c.exchange = "SMART";
  7. c.currency = "USD";
  8. m_pClient->reqContractDetails((*iter).first, c);
  9.  
  10. // this gives "Error id=1, errorCode=200, msg=No security definition has been found for the request"
  11.  
  12. Contract c;
  13. c.symbol = "EOG";
  14. c.secType = "OPT";
  15. c.exchange = "SMART";
  16. c.currency = "USD";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement