API Support Forum
User Profile

Viewing User Profile for: ETrifonov


About

Feb 09, 2015 09:52 AM

Jun 03, 2020 07:27 AM

Jun 03, 2020 07:27 AM



Post Statistics
ETrifonov has contributed to 42 posts out of 4744 total posts (0.89%) in 1943 days (0.00 posts per day).

20 most recent posts:

API Support » Issue with @6C and similar symbols Jun 03, 2020 @ 07:27 AM (Total replies: 2)

Hello,

Issue has been fixed.
Estimated release dates:
06/06 - API
06/13 - SIM
06/20 - PROD

Thank you.
Evgeny


API Support » "ContractID Invalid" error returned in Order submission Jun 03, 2020 @ 07:19 AM (Total replies: 4)

Thank you for details.
Can you please also provide account you used to place orders.

Also, I see that to place order you first deserialize it.
Question is - does _clientRunner.Client is the same, used for contract lookup and was it connected during whole session?
To send order, API should know about contract.
So, in case you lookup contract. build draft, serialize order draft, reconnect API, deserialize order and trying to send it - you will get that error.
After reconnect you should lookup contract again, to make sure API knows about it.

Thank you.
Evgeny


API Support » Issue with @6C and similar symbols Jun 02, 2020 @ 12:41 PM (Total replies: 2)

Hello multichartsDEV1,

Thank you.
We see the problem with continuous contracts subscriptions and working on it.
We will let you know when it will be fixed and released.
Evgeny


API Support » "ContractID Invalid" error returned in Order submission Jun 02, 2020 @ 09:37 AM (Total replies: 4)

Hello RAnde,

Unfortunately it is not clear how exactly you are creating order.
If you are getting contract via api and then use it to create new order draft, you shouldn't have such issues.
Can you please provide code and GF API version.

Our sample in API documentation:
https://gainfutures.com/GFAPI/?topic=html/b7c07332-6ce9-4101-bec2-79610ad6ee7d.htm

Thank you.
Evgeny


API Support » Unable to receive Level 1 data May 19, 2020 @ 08:54 AM (Total replies: 1)

Hello Andrew,

Can you please provide more details, like API version, contract symbol, connection address, etc.
Please also check our example: https://bitbucket.org/GainFuturesDev/basicexample/src.

Regards, Evgeny.
Evgeny


API Support » SendOSOOrders instead of SendLinkedOrders Mar 19, 2020 @ 12:41 PM (Total replies: 1)

Hello, Mauro.

Corrected answer to your question.
Yes SendLinkedOrders has been replased to SendOSOOrders.

Thank you.
Evgeny


API Support » typelib missing Nov 07, 2018 @ 11:51 AM (Total replies: 3)

Hello WWatson2582,

Please update to fresh OECAPICOM 3.5.14.53
https://gainfutures.com/onelink/documentation

Thank you.
Evgeny


Market Data » Receiving only 2 bars Apr 20, 2018 @ 09:51 AM (Total replies: 3)

Hello,

Initially, you should receive requested amount.
After that you will receive incremental updates for bars.
Evgeny


API Support » Placing Trailing Stop Order Nov 02, 2017 @ 07:07 AM (Total replies: 5)

OrderDraft.Price is Stop Price.
When market hit this price, order will be modified to Market Order.
Evgeny


API Support » Placing Trailing Stop Order Nov 01, 2017 @ 09:58 AM (Total replies: 5)

Hi RAnde,

#1 Yes, your understanding correct, but with remarks below.

#1.2 This because of minimal distance - one contract.TickSize.
Delta will be used to calculate distance.
For provided sample distance will be (Delta + contract.TickSize).
And Trailing Stop Price will be modified by (+/-) Distance when market price becomes outside of (Reference +/- Distance).
Sorry for confusing you.
Evgeny


API Support » Placing Trailing Stop Order Oct 31, 2017 @ 02:50 PM (Total replies: 5)

Hello RAnde,

#1 Depending on order side (buy or sell), order will be modified to (+-Delta) price on market price become outside of (Reference +- Delta).

#2 You send Trailing Stop order next way:


var draft = OECClient.Global.CreateDraft();
var contract = OECClient.Global.Contracts["ESZ7"];

draft.Quantity = 1;
draft.Contract = contract;
draft.Side = OrderSide.Buy;
draft.Type = OrderType.TrailingStopLoss;
draft.Account = OECClient.Global.Accounts["TestAccount001"];

// stop price should be greater than last price for ‘buy’ order
draft.Price = contract.CurrentPrice.BidPrice + contract.TickSize * 2;

// delta, should be equal or more than 0
var delta = contract.TickSize;

// Trailing stop orders must be send with delta value diminished by one tick
draft.SetTSData(contract.CurrentPrice.LastPrice, Math.Max(0, delta - contract.TickSize));
OECClient.Global.SendOrder(draft);
Evgeny


FIX Support » Spread Execution report bugs May 16, 2017 @ 08:29 AM (Total replies: 4)

Hello,

Our simulation fill server is not support iceberg for spreads, sorry for confusion.

We will send:
    ER_NEW (150=0, for spread)
    ER_TRADE (150=F, for individual legs)
    ER_CALCULATED (150=B, for spread)

So, we won't send partial fill reports with updated LeavesQty for spread, only for individual legs.
Thank you.
Evgeny

Edited by ETrifonov on May 16, 2017 08:30 AM

FIX Support » Spread Execution report bugs Apr 26, 2017 @ 10:01 AM (Total replies: 4)

Hello,

Thank you for your report.
We will fix issues you reported soon.

In case of partial fill you should always expect 39=B message after whole order filled.
Otherwise we won't send this message.
Also I can suggest to send iceberg order to test this.

Thank you.
Evgeny


FIX Support » 'Unknown Contract' for Packs/Bundles orders Apr 12, 2017 @ 02:12 PM (Total replies: 3)

Thank you.
This is incorrect behavior in.
You also cannot lookup such contracts (for example, using SecurityListRequest).
We will investigate and fix this.
Evgeny


FIX Support » Request for Positions Issue Apr 12, 2017 @ 12:13 PM (Total replies: 3)

Thank you. We will fix this soon.
Evgeny


FIX Support » SecurityListRequest - MaxRecords tag not working Apr 12, 2017 @ 10:45 AM (Total replies: 3)

Hello, thank you.
This is a bug and it will be fixed soon.
Evgeny


FIX Support » FIX Order with quantity zero Mar 24, 2016 @ 09:09 AM (Total replies: 5)

On prod.gainfutures.com we have bug in this procedure.
It will be fixed soon.
Thank you.

Evgeny

FIX Support » FIX Order with quantity zero Mar 23, 2016 @ 12:21 PM (Total replies: 5)

Can you please provide user name and server address you are connecting?

Evgeny

FIX Support » FIX News messages Mar 23, 2016 @ 11:16 AM (Total replies: 7)

Jack,

You received alert message. Alert messages are mandatory for all users and we do not filter it.

Why you can't just ignore it if you do not need it?

Thank you.


Evgeny
Edited by ETrifonov on Mar 23, 2016 at 11:16:45

FIX Support » FIX Order with quantity zero Mar 23, 2016 @ 10:02 AM (Total replies: 5)

Hello, Jack

0 quantity is invalid, so you should expect execution report (35=8) with ExecType (150) = REJECTED (8). Also we put text field (58) with description.

For example:

8=FIX.4.4|9=251|35=8|34=36|49=OEC|52=20160323-13:00:00.000|56=User|1=ACCOUNT|6=0|11=12345|14=0|17=OECFIX:12345:2|37=NONE|38=0|39=8|40=1|54=1|55=NQ|58=Invalid request|60=20160323-13:00:00.000|103=99|150=8|151=0|200=201606|461=FXXXXS|10=114|



Evgeny
Edited by ETrifonov on Mar 23, 2016 at 10:02:45