API Support » OECAPICOM::IOrderDraftPtr Contract Oct 28, 2013 @ 10:38 AM (Total replies: 4) | |||||
Thanks for your answer. I've seen the sample in your ccp, and I have a small problem. Maybe, i know your answer, but i would like read your reply: "If i want to send a new order to a deteminate contract (i don't have any order or position. This is my first operation), Should i do the search and find the contract before new order's sending?" Regards. Miguel angel De las heras |
|||||
API Support » OECAPICOM::IOrderDraftPtr Contract Oct 24, 2013 @ 09:11 AM (Total replies: 4) | |||||
i've seen the solution. OECAPICOM::IContractPtr contract = OECAPI()->Contracts->Item("ESH4"); Regards. Miguel angel De las heras |
|||||
API Support » OECAPICOM::IOrderDraftPtr Contract Oct 24, 2013 @ 05:12 AM (Total replies: 4) | |||||
Hi, About send orders. When i want to send a new order, i must to put a determinate contrac inside OECAPICOM::IOrderDraftPtr, but, Do I should get the contract information before send the order? Can I send a new orden to 'ESZ3' sending only this instrument code? OECAPI()->RequestContracts(OECAPI()->BaseContracts->FindBySymbol("ES")); Regards Miguel angel De las heras |