API Support Forum
OEC API > API Support > Rounding price
Author Topic: Rounding price
(2 messages, Page 1 of 1)
Moderators: VPfau
DBrubaker673
Posts: 55
Joined: Jul 18, 2007


Posted: Aug 29, 2007 @ 05:51 AM             Msg. 1 of 2
This morning whenever I place an order, the API server is rounding the price to 2 decimal places.
For example: I place a limit order for 6EU7 at 1.3591.
The OnOrderConfirmed event comes back with the price at 1.3591
Soon after, the OnOrderStateChanged event comes back with the price at 1.36

????

Thanks,
Dale

Dale
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Aug 29, 2007 @ 08:45 AM             Msg. 2 of 2
6E/E7 contract has tick size of 0.01 - so all prices are rounded to nearest tick.