NexusFi: Find Your Edge


Home Menu

 





Optimize speed EURUSD v's @YM


Discussion in TradeStation

Updated
    1. trending_up 2,453 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 8 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
oreild3
Ireland
 
Posts: 5 since Apr 2014
Thanks Given: 0
Thanks Received: 1

Hi I am using a similar strategy with different inputs on EURUSD and @YM on TS, however the optimisation speed of the @YM is much slower. I am based in Ireland anyone and idea why there is so much difference in speed. Is there a way to actually save historical data to PC. Or has anyone any idea regarding best way to run optimisation.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
US Prop Firms Race Inside the CFTC Perimeter -- Tradeify …
Funded Trading Evaluation Firms
$4.5M Floods Russia Nuclear Contract in 24 Hours -- Krem …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
$12M Ceasefire Contract Goes Disputed as Bandar Abbas St …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
16 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
1 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

oreild3,

what are the chart settings for bar type and interval? Are you using look inside bar backtesting? If so, what is the resolution?
My guess is that it has simply something to do with the number of ticks processed during the optimization being different for each symbol. Therefore the questions above help to clarify this.

Regards,
ABCTG


Follow me on X Reply With Quote
  #3 (permalink)
oreild3
Ireland
 
Posts: 5 since Apr 2014
Thanks Given: 0
Thanks Received: 1



ABCTG View Post
oreild3,

what are the chart settings for bar type and interval? Are you using look inside bar backtesting? If so, what is the resolution?
My guess is that it has simply something to do with the number of ticks processed during the optimization being different for each symbol. Therefore the questions above help to clarify this.

Regards,
ABCTG

Thanks for your reply ABCTG. However the strange thing is I have each tick selected for EURUSD and selected seconds for @SP in the hope of speeding things up, no luck though. On the EURUSD I have the backtestiing resolution set to 1 tick and on the @SP it is set to 1 sec. I would have thought that there would be as much tick data for the EURUSD as the @SP as it is a liquid product. This has me puzzled ?? Hopefully someone can shed some light. Backtesting is also slow with the @YM. Also of interest is when I load the worksheet the @YM and @SP are much slower to load than the EURUSD. I do not understand how the data load process works in detail on TS. I was wondering if it hand anything to do with the symbol themselves. Can't find anything on the net about this issue.

David


Reply With Quote
  #4 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

David,

TS pulls the data and stores it locally on your disk. Assuming you are using the same start and end date try adding a simple counter to your strategy (or do an empty strategy with a counter) that counts each calculation cycle. This way you know if the amount is similar or way different.
That would be the first thing I'd do. If this shows the values being close enough the additional time might come from your code.

Regards,
ABCTG


Follow me on X Reply With Quote
  #5 (permalink)
oreild3
Ireland
 
Posts: 5 since Apr 2014
Thanks Given: 0
Thanks Received: 1


ABCTG View Post
David,

TS pulls the data and stores it locally on your disk. Assuming you are using the same start and end date try adding a simple counter to your strategy (or do an empty strategy with a counter) that counts each calculation cycle. This way you know if the amount is similar or way different.
That would be the first thing I'd do. If this shows the values being close enough the additional time might come from your code.

Regards,
ABCTG

Yes that's sound advice I was thinking about looking at the ticks with a counter but the strategy counter is a better idea I will let you know how I fair out.

Thanks
David


Reply With Quote
  #6 (permalink)
oreild3
Ireland
 
Posts: 5 since Apr 2014
Thanks Given: 0
Thanks Received: 1


oreild3 View Post
Yes that's sound advice I was thinking about looking at the ticks with a counter but the strategy counter is a better idea I will let you know how I fair out.

Thanks
David

I think I have found the problem, the issue is related to a global variable.

So thanks again for getting me thinking.


Reply With Quote
  #7 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

David,

you are welcome. Out of curiosity what exactly causes the problems with Global Variables that it manifests itself when you test @YM and not when you test EURUSD?

Regards,
ABCTG


Follow me on X Reply With Quote
  #8 (permalink)
oreild3
Ireland
 
Posts: 5 since Apr 2014
Thanks Given: 0
Thanks Received: 1


ABCTG View Post
David,

you are welcome. Out of curiosity what exactly causes the problems with Global Variables that it manifests itself when you test @YM and not when you test EURUSD?

Regards,
ABCTG


TS just got back to me and they have said that there is a lot more tick data on the @YM than the EURUSD, so that answers my question. The issue I was having with GV's was that the names of the GV's in the set and get functions were different. I thought this may have had an impact on speed of optimisation, but this was not the case. Looks like it is down to tick data.


Reply With Quote
Thanked by:
  #9 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

oreild3,

thanks for the explanation. You should be able to test this easily when you load one chart for each symbol with the same bar interval and same amount of bars. Then you run two optimizations with look inside bar backtesting disabled and the time it takes should be about the same.

Regards,
ABCTG


Follow me on X Reply With Quote




Last Updated on April 29, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts