- ago
I must be doing something wrong, but can't figure it out.

When using a limited number of data (see example 1 day of minute bars) the strategy runs well. However if I select all data - then it doesn't seem to behave the same way..

A prior version of the strategy had no issue loading all data. I have since added coding to save a couple of values onto global variables..
Any idea on what could cause the strategy malfunction with all data selection?

Thank you



0
224
4 Replies

Reply

Bookmark

Sort
- ago
#1
Cannot tell without seeing the code and symbols.

P.S. Incorrect usage of class level variables can lead to errors hard to catch.
0
- ago
#2
that must be it, thank you Eugene. is there a place to consult system (WL) variables that could be clashing with my SetGlobal() assignment?
1
Cone8
 ( 24.99% )
- ago
#3
What would be clashing??? What is the "malfunction" exactly?

A good start to troubleshooting would be to remove the code you added that seemed to cause the problem. If that works and you can't figure out why it's the problem, you could show us that code and we'll have something to work with.
0
- ago
#4
sounds good, let me work on it .. and welcome back Cone
1

Reply

Bookmark

Sort