Posted by Rula Halaseh, Last modified by Rawan Al Hourani on 24 October 2017 01:30 PM


ReadOnly Property Account(ByRef AccountID As IntegerAs VertexFXClientAPI.COAccount

This property used to return an account object of type COAccount  that belongs to the given account ID 


Part Description 
AccountID Associated account number, the value of type Integer.


 Private Sub API_LimitOrderAccepted(ByRef AccountID As Integer, ByRef OrderID As Integer, ByRef Ticket As Integer, ByRef BuySell As OperationTypeEnum, ByRef Lots As Double, ByRef Symbol As COSymbol) Handles API.LimitOrderAccepted
   'API is perdefined variable as CVertexFXClientAPI
     Dim vAccount as COAccount = API.Account(AccountID)

   MsgBox("limit order accepted for account name" & vAccount.firstName & " With balance"  & vAccount.Balance)

 End Sub


See Also

VertexFX Client API Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions