Author |
Topic: Trail Stop Order issue (3 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
BGoyal9136 Posts: 27 Joined: Sep 21, 2017 |
For Placing Trail Order we need to use this . is there any way we give ticks to trail so it decide automatically trail Price like we used to in old api . Since if we give price trail is getting made invalid due to the market moving faster than the order can execute (We want to trail with one tick only )
new OrderDraftBuilder() .WithOrderType(OrderType.TrailingStopLoss) .WithTrailingStop(new TrailingStopData(contract.CurrentPrice.LastPrice, (10 - 1) * contract.TickSize)) .Build(); |
||||
AMartzke Posts: 13 Joined: |
This feature is not currently supported in GFAPI. I have submitted this to the business as a feature request.
|
||||
JSmith5611 Posts: 187 Joined: |
I'm starting to implement this feature, and I have a few questions..
1) how did you achieve this in the old API? 2) Do you want the reference price or delta in ticks? Jason Smith
|
||||