API Support Forum
OEC API > API Support > OEC Api Example
Author Topic: OEC Api Example
(2 messages, Page 1 of 1)
Moderators: VPfau
MLauronen29
Posts: 4
Joined: Mar 25, 2008


Posted: Mar 25, 2008 @ 07:40 AM             Msg. 1 of 2
Is this a bug or am I missing something?

The balance was not calculated correctly when I did a positions as follows,

ESM8, Buy MKT 1 @1356.75, Balance 48572,50
ESM8, Sell Limit 1 @1357.50, Balance 48511,00

This position was winner but the balance declined.

Im using Windows XP and compiled the project under the MS Visual Studio 2008.
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Mar 25, 2008 @ 10:55 AM             Msg. 2 of 2
Since you do not have any commissions defined, a default commission rate of $49.5/fill was applied.