开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: execDetails(...)+commissionReport(...) Callback different behaviour when not opening trade history


 

Hi,
in my application there is already the request for the executions as you hinted and of course i am aware of the time limitation ( it is set to 7 days in my case ). I think there's a misunderstanding here, as i wasn't saying something about some "unsolicited" behaviour.
?
I only need a robust way to determine when a position is closed and i am relying on the execDetails(...) + commisionReport(...) callbacks for that purpose. Unfortunately i am experiencing that not all executions / commissions are sent, maybe so under a certain set of circumstances (the example i gave was, that it depends on whether the "trade history" was opened or not).?
?
1. Are you experiencing the same, by executing m_pClient->reqExecutions(...) (and not opening the trade history). In that case do you receive the completed trading history from execDetails() ?
2. What is the most robust way to determine if a position is closed / opened ? By using the position(..) + positionEnd(...) ? In my case it sends the close again and basically opens the symbol in the other direction. Its very frustrating
?
regards,
Simon

Join [email protected] to automatically receive all group messages.