Author |
Topic: ModifyOrderDraftBuilder with price update (2 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
VSiron Posts: 5 Joined: Dec 05, 2020 |
Hello dear members,
I have a strange issue. For an order, I make an update with the ModifyOrderDraftBuilder builder, with the .WithPrice(double? price); Validation is ok. I'm playing with values, and 2 things are so strange : - Decimal part are not taken in consideration (old price : 32000, update price : 32002.20, final price : 32002.00) - Price is rounded !!! (old price : 32002.00 : update price : 32005.50, final price : 32006.00) Someone have an idea ? |
||||
SPikalov Posts: 25 Joined: |
Hello.
This may be due to the fact that prices must be a multiple of the contract TickSize Which contract are you using? Regards, Sergey |
||||