Author |
Topic: MicroFX account TotalBalance->OpenPnL, and pAcct->TotalBalance->RealizedPnL are off by 100 (5 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
CWeber984 Posts: 226 Joined: Apr 24, 2012 |
We are using and testing a new MicroFX account. When we have open and closed positions, the OECAPICOM::IAccountPtr::TotalBalance->OpenPnL and OECAPICOM::IAccountPtr::TotalBalance->RealizedPnL for these open and closed positions are off by 100.
For instance: - A single open position on EUR/USD has an open profit of $6.40 in OEC Trader Demo, but the TotalBalance->OpenPnL value that we get from the api is $640.00. - The same error occurs for RealizedPnL. The MiniFX and StandardFX accounts are fine. They return the same value for the position as is shown in OEC Trader Demo. That is: - the open position PL shown in OEC Trader Demo agrees with TotalBalance->OpenPnL returned by the api. - the realized position PL shown in OEC Trader Demo agrees with pAcct->TotalBalance->RealizedPnL returned by the api. I'll send the accounts involved to you in an email referencing this post. Thanks, CHW
|
||||
JSmith5611 Posts: 187 Joined: |
Are you using the 1.5.14.20 version of the COM API that was released on friday?
Jason Smith
|
||||
CWeber984 Posts: 226 Joined: Apr 24, 2012 |
HI Jason,
No, we aren't. I'll perform the update and post back to confirm it solved the issue. Thanks, CHW
|
||||
CWeber984 Posts: 226 Joined: Apr 24, 2012 |
The new api resolved our issues. Thanks Jason.
CHW
|
||||
JSmith5611 Posts: 187 Joined: |
You're welcome.
Jason Smith
|
||||