Cash(NTCUMAD)
Previous Topic  Next Topic 


Name

Comments

Name

Description



Parameter 1






Returns

Comment

Example

Cash()

Returns the amount available to trade with for the specific account.


N=Net available excl credit
T=Trading power excl credit
U=Used credit
M=Value from Alarm code field in Basic data
A=Account value, ie total market value of positions
D=time stamp for last update of main account.


Trading power. Example add(cash(a),cash(t)) returns account value including positions but excl credit.

Be aware of the risk of using credit. Cash(D) can be used to detect possible communication problems.

Cash(N) the accounts available amount to invest including credit. The account to which the script or order model is connected to is used.