Account Class and position management/netting

Created at 02 Feb 2014, 05:49
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
AB

abfc123

Joined 01.02.2014

Account Class and position management/netting
02 Feb 2014, 05:49


Hi,

I'm trying to find more doco on the Account management functionality of cBot.

For example, how to query account balance, available equity, leverage, margining, etc

 

Also, does cBot allow the opening of simultaneous long and short positions from within a single strategy/account?, similar to the non-US version of MT4,  or does it automatically net out like MT5?

Thanks

 


@abfc123
Replies

Spotware
03 Feb 2014, 12:08

I'm trying to find more doco on the Account management functionality of cBot.

For example, how to query account balance, available equity, leverage, margining, etc

You can find documentation for Account class there: /api/reference/internals/iaccount

Also, does cBot allow the opening of simultaneous long and short positions from within a single strategy/account?, similar to the non-US version of MT4,  or does it automatically net out like MT5?

cBot allows hedging. You can open several positions of the same symbol.


@Spotware