project a pricelevel based on profits
project a pricelevel based on profits
13 Sep 2018, 09:44
i have a cBot that manages positions, so i already do know the drawdown and profit values in realtime,
but how can i project this to a price level in order to draw a line.
the idea is to have a "stop-line" based on the pre-set drawdown level.
as multiple positions can have multiple sizes on the same asset, this may be hard to calculate.
is there a way to do that via the API ?
PanagiotisCharalampous
17 Sep 2018, 12:14
Hi swingfish,
You cannot do this via the API. You will need to do the calculations in your cBot.
Best Regards,
Panagiotis
@PanagiotisCharalampous