Dear Jay
I have checked the issue from my side and found that you received an invalid amount for the updated position that closed partially or the new amount is larger than the fully mount , So to get the server response you have to wait the UpdatedClosedPositionResultReceived event to fire
You have to know that the event fired for each account that you requested the history for when calling the GetAccountHistory , so by using the AccountByID function you can get the client id.
How to get the clientid for which the below mentioned event fires.
I want to get the clientid for which the AccountHistory is belonging to..
Private Sub BOAPI_AccountHistoryReceived(ByRef AccountHistory As VBA.Collection) Handles BOAPI.AccountHistoryReceived
Bookmarks