Topics
Replies
petra41@bigpond.com
29 Sep 2017, 11:17
Thakns again, to add for your Devs it seems to be access to any data outside the data in the backtesting selection.
Adding a 1 liner to the OnStart() function can cause the error. Select a pair that is not the pair listed below and run it it will error on OnStart. THis isn't even grabbing market data just the code associated to the data and it doesn't work....
string c_sy1 = MarketData.GetSymbol("EURUSD").Code.ToString();
@petra41@bigpond.com
petra41@bigpond.com
29 Sep 2017, 11:04
RE:
Panagiotis Charalampous said:
Hi petra41@bigpond.com,
We still do not have an ETA but it is in our backlog. I will keep you posted.
Best Regards,
Panagiotis
Thanks is it an issue accessing the data? Can I work around it for now ie, export data to a CSV and use that information instead?
@petra41@bigpond.com
petra41@bigpond.com
29 Sep 2017, 10:47
Output of the log when I try and run a backtest.
Server Time: 6/27/2017 12:00:00 AM
Update: Creating all 5 manually
Server Time: 6/27/2017 12:00:00 AM
Update: Error occured
Server Time: 6/27/2017 12:00:00 AM
Update: Attempting to add to List
Server Time: 6/27/2017 12:00:00 AM
Update: Starting robot finished symbol,data,rsi array builds
@petra41@bigpond.com
petra41@bigpond.com
29 Sep 2017, 10:46
//Log info private void Log(string text) { _fileWriter.WriteLine("Server Time: " + Server.Time); _fileWriter.WriteLine("Update: " + text); }
This is the log function if anyone wants to add logging to their code.
@petra41@bigpond.com
petra41@bigpond.com
29 Sep 2017, 10:44
RE:
Panagiotis Charalampous said:
Hi petra41@bigpond.com,
Thanks for posting in our forum. To make it easier for the community to help you please provide the following
1) A cBot that builds successfully. The one you provided has build errors. Log function is not defined anywhere.
2) Point us exactly to where the problem is. Tell us how do you expect the robot to behave and how it does actually behave.
This information will help us to assist you.
Best Regards,
Panagiotis
Hey mate, I found an atricle that explains that you can't test multpole currencies at the same time in backtesting. Which is exactly what I am trying to do...
/forum/calgo-support/11882
If I can't draw on MarketSeries from other pairs while Im runnign back tests it would explain why I''m seeing the errrors im seeeing. I can add the Log function in but if the cause is that you have no *access* to other pairs while running backtests then there isn't much point.
I need to be able to test if running this bot across 3-6 pairs with an account size of $5,000 is enough given the exspected draw down. I was trying to do that by reading in the other market data information but not sure it works.....
Given that with my post I've found 6-7 post requesting the same thing is there any idea when this might be working?
@petra41@bigpond.com
petra41@bigpond.com
22 Feb 2017, 15:26
Here is an example, one just doesn't work I run it a few times in a row and get the first one. Then eventually it works fine and I get a normal looking chart. And it randomly abruptly looses everything at the end?
@petra41@bigpond.com
petra41@bigpond.com
06 Jan 2017, 21:58
I work in IT so understand that there will be days like that. My concern is if I don't manually click the button it does not reconnect. I need a way of automating this, I've gota system that seems to be working in cAlgo I want to start a live account shortly and this is an issue.......How can one make money partying in Bali with a decent trading algo when you have to manually connect if it breaks. I can't even find a way to send an alert when it's disconnected.......
Anyone know of a way of sending an alert?
@petra41@bigpond.com
petra41@bigpond.com
19 Dec 2016, 10:02
Hi mate, i got it working by adding a bar delay on the bot. I think the indicator needed 120 bars to start or something weird. So I added.
protected override void OnTick() { if (bcount < 160) { bcount++; return; }
Once bcount was over 160 it worked fine.
Cheers
@petra41@bigpond.com
petra41@bigpond.com
29 Sep 2017, 11:33
The exception message seems to be an internal message setup to prevent access to other Symbols or MarketData while backtesting?
Update: Error occured GetSymbol is temporarily not supported in backtesting
I'm now aware why it's not working the question is why is it disabled? If you want someone for beta testing enabling this sort of thing and testing the data being downloaded and used within the backtesting toolset, like equity result, sharepee all that stuff let me know I'll gladly stick up my hand and help.
@petra41@bigpond.com