Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Quad), 755 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Cannot run script using asset prices #481837
11/06/20 21:51
11/06/20 21:51
Joined: Mar 2020
Posts: 41
J
jbhunter Offline OP
Newbie
jbhunter  Offline OP
Newbie
J

Joined: Mar 2020
Posts: 41
I have somehow gotten to this weird situation that I cannot run any backtests. I had v2.33 installed and it happened, seemingly out of no where. I have downloaded and unzipped v2.33.5b and the same thing is happening.

With the new version I did not alter any files from the zip. I can run for instance scripts like CalculatePI. But any time asset data is used it slows to a crawl. Also the log mentions loading ticks, I have always used t6 data and never seen these messages before.

Running the default IndicatorTest I get...

IndicatorTest compiling......
Lookback set to 101 bars
EUR/USD 56740 ticks read
210 Bars 2019-01-02..2019-01-15 generated

Then zorro is unresponsive. It takes 3-4 minutes to get the above.

I have set Verbose=31 in the script. Here is the output. Any suggestions on what might be going on?

FYI,
I am running 4 other instances of another version of Zorro on the same PC. They are running live now, no issues currently. They are v2.25.


printf:
V §.3f on §s
printf:
Lookback set to §i bars
printf:
Load §s
Open: History\AssetsFix.csv rb
Load EUR/USD
printf:
§s: §i MB allocated
printf:
§s §i ticks read
Alloc EUR/USD prices
printf:
§i Bars §s..§s generated
printf:
§s: §d..§d
printf: , §s..§s
Asset EUR/USD status EUR/USD:L 235059664 1
Asset EUR/USD status EUR/USD:S 235059664 1
printf:
§s
printf: : §s §s
printf: §d..§d
printf:

printf:
[§s§s§s]
printf: §s/§s\§s/§s
printf: -§s
run 1 TA BBANDS 1.14840 TA ATR 0.00195 TA CDLDOJI 0.00195 TA MAX 1.14840 TA MIN 1.14840 TA MAX 1.14840 TA MIN 1.14840 TA MAX 1.14840 TA MIN 1.14840




PS
Just tried running a script with the v2.25 build. It is doing the same thing! This is running out of the same exe/folder as the Zorro version running the 4 live sessions.

Re: Cannot run script using asset prices [Re: jbhunter] #481838
11/06/20 22:18
11/06/20 22:18
Joined: Mar 2020
Posts: 41
J
jbhunter Offline OP
Newbie
jbhunter  Offline OP
Newbie
J

Joined: Mar 2020
Posts: 41
Dang I think I may have this figured out. I have had issues running the 4 live sessions on a single Oanda account. To fix this I set TickTime = 3000 in a couple of live scripts. It seemed to work.... Until I tried running a backtest on another instance.

I shut down the live sessions and it fixed my issues backtesting on another zorro instance. I believe the "ticks read" anomaly was due to the Verbose setting. It is not normally printed on lower Verbose settings.

I think the proper thing to do here instead of using TickTime is to use MaxRequests. I ran GET_MAXREQESTS and it is returning 45 for Oanda. So I set MaxRequests in the 4 live sessions to 10.

I am curious though how TickTime changed the behavior of another Zorro instance, let alone another version of Zorro altogether. I guess they are all somehow in communication with eachother.

I would love to run 6 instances, 4 on Oanda, 2 on IB. Still trying to wrap my head on how they might all function working together. I have done it in the past but I always end up having unresponsive zorro instances after a week or so.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1