API Support Forum
User Profile

Viewing User Profile for: JBanks1487


About

May 08, 2019 09:00 AM

Jul 01, 2019 02:34 PM

Jul 03, 2019 09:39 AM



Post Statistics
JBanks1487 has contributed to 2 posts out of 5587 total posts (0.04%) in 1804 days (0.00 posts per day).

20 most recent posts:

API Support » OEC Trader Developer 3.5 and API for Developer doesn't seem to work well Jul 01, 2019 @ 02:34 PM (Total replies: 4)

Hello Jason

Thank you for the update, I confirm the issue is fixed now.

I am facing one more issue, and that is related to Trailing Stop order, it was working fine before.
but now, it is not working as expected.
when I place Trailing Stop type order,
the order gets Rejected and it says "Service is not available"

if you know if there is any known issue related to this and developers are working on it.

Thank you for your response.
Edited by JBanks1487 on Jul 01, 2019 02:37 PM

API Support » OEC Trader Developer 3.5 and API for Developer doesn't seem to work well Jun 26, 2019 @ 10:29 AM (Total replies: 4)

OEC Trader Developer 3.5 and API for Developer doesn't seem to work well

Hello there,
this is a bug report, My code was working fine till last Friday, but without major changes, it stopped working from this Monday (June 24, 2019)

Issue 1. OEC Trader Developer 3.5
-----------------------------------------------
I have used ESU19 symbol from Indices
from Depth of Market, I pressed on Buy Mkt button.
it shows a new Order under Working Orders tab forever.
if I close OEC Trader Developer 3.5 software and open again
I can see that Order was Filled and available under the Positions tab.


Issue 2. OEC Trader Developer API
-------------------------------------------------

I have written C# code to bind these Order related events.

oecapi = new OEC.API.OECClient();
...
...
oecapi.OnOrderConfirmed += new OEC.API.OnOrderConfirmedEvent(Oecapi_OnOrderConfirmed);
oecapi.OnOrderFilled += new OEC.API.OnOrderFilledEvent( Oecapi_OnOrderFilled);
oecapi.OnOrderStateChanged += new OEC.API.OnOrderStateChangedEvent(Oecapi_OnOrderStateChanged);
...
...
the problem is when I execute this code for market order at current price

OEC.API.Order order = oecapi.SendOrder(orderDraft);

it is executed successfully,
and then the code written in "Oecapi_OnOrderStateChanged" executed successfully.
but the code written in "Oecapi_OnOrderFilled" and "Oecapi_OnOrderConfirmed" is never executed.
(it was working fine before)

I am looking for a quick resolution of this issue.
it is hard to believe for me that the code is wrong because it was working fine before, but still, if you think that there is an issue in the code, please help me to rectify it.

Thank you for your assistance.