Keeping Track of Open Trades
Created at 08 Jun 2015, 17:21
Keeping Track of Open Trades
08 Jun 2015, 17:21
I have a simple bot to create, is there a way for me to have my bot check each open positions? I understand that you can create an instance of a bot on a given open chart.
Spotware
09 Jun 2015, 14:25
Dear Trader,
cAlgo.API provides the ability to access to all open positions. Please look at the following example:
The above code prints all position Ids to the Log tab. You can adjust it in your cBot.
@Spotware