Syntax
Event SummariesChanged(Balance As Double,FltPL As Double,Credit As Double,Equity As Double,MarginReq As Double, MarginLevel As Double,EffMargin As Double)
Description
This event is raised when the selected account summary is changed.
Parameters
Part |
Description |
Balance |
Real amount of money for this account, value of type is Double |
FltPL |
Floating profit or loss for all open positions, Value of type is Double. |
Credit |
An amount of money put to the account of a certain client in order to be a paid later. Value of type is Double |
Equity |
This equals to Balance+FLT P/L + Credit. Value of type is double |
MarginReq |
Called also Used margin which is the amount of money that can client afford in his account to buy 1 lot of certain currency. Value of type is Double |
MarginLevel |
This equals to (Equity/MarginReq) *100% (The bigger number ,the better). Value of type is Double |
EffMargin |
Called also Free Margin which equals to Equity+marginReq. Value of type is Double. |
Remarks
Use this event to handle the selected account summary changing.
See Also
VertexFX Client API Index
|