3.7 Symbols not working in optimization
3.7 Symbols not working in optimization
09 Dec 2019, 00:39
using System;
using cAlgo.API;
using cAlgo.API.Internals;
namespace cAlgo.Robots
{
[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class NewcBot : Robot
{
protected override void OnStart()
{
Print("Symbols.Count " + Symbols.Count);
Stop();
}
}
}
In backtest on Spotware gives:
06/11/2019 01:00:00.000 | Backtesting started
06/11/2019 01:00:00.000 | Symbols.Count 821
06/11/2019 01:00:00.000 | Backtesting was stopped
in Optimization gives:
06/11/2019 01:00:00.000 | Backtesting started
06/11/2019 01:00:00.000 | Symbols.Count 1
06/11/2019 01:00:00.000 | Backtesting was stopped
Best rgds,
Ton
Replies
Shares4UsDevelopment
09 Dec 2019, 13:24
RE:
Hmmppf,
That's a dissapointment Panagiotis. Do you have any idea when it will be?
And .....
-any idea how to calculate the risk taken before taking a position in a Pair not equal to the account currency without using the symbol Class?
EG: Risk in USD when taking 1lot in NOKJPY with a 10 pips SL??
@Shares4UsDevelopment
PanagiotisCharalampous
09 Dec 2019, 14:31
Hi Ton,
There are no immediate plans for this. Regrading
any idea how to calculate the risk taken before taking a position in a Pair not equal to the account currency without using the symbol Class?
The only workaround at the moment is to use Open API.
Best Regards,
Panagiotis
@PanagiotisCharalampous
Shares4UsDevelopment
09 Dec 2019, 19:30
RE:
Hi Panagiotis,
Wow that's a bugger.
So actually it is impossible to do secure and proper riskmanagement in optimization.
That makes multi-symbol optimization not very useful if you can't manage the risks.
I hope you will give this a bit of priority. (for the sake of the financial well-being of your users.)
Best rgds,
Ton
@Shares4UsDevelopment
PanagiotisCharalampous
09 Dec 2019, 09:40
Hi Ton,
Symbols are not supported in Optimization at the moment.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous