Account Class and position management/netting

Created at 02 Feb 2014, 05:49
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