GSB Forums

Not logged in [Login - Register]

Futures and forex trading contains substantial risk and is not for every investor. An investor could
potentially lose all or more than the initial investment. Risk capital is money that can be lost without
jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only
those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of
future results
Go To Bottom

Printable Version  
Author: Subject: Matching Results between TS and GSB reports
QuantDean
Junior Member
**




Posts: 6
Registered: 9-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 11-5-2017 at 06:29 PM
Matching Results between TS and GSB reports


I imported some data (ES.D 30min) from TS to GSB, built some strategies using just ES data, however I cant get the equity curves or results to match between TS and GSB. They are very different. TS is consistently showing less performance in all the key metrics.

What would be the possible reasons for this? 



View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 11-5-2017 at 06:39 PM


The most common issue is the session times are different. GSB ES.x data uses 830 to 1500, not 830 to 1515.
You could also try the data that came with GSB to see if the same issue occurs.
So use the ES.30 with no secondary data streams. Export the system to TS with 830 to 1500 session time.
I know your problem is severe, but it is common for metrics to be 99% the same. This is totally fine, and not worth pursuing.
The reasons are bars back setting, different mathematical degrees in precision between GSB and TS, and TS data varies from GSB data but some amounts.
Please keep us informed.


View user's profile View All Posts By User
QuantDean
Junior Member
**




Posts: 6
Registered: 9-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 11-5-2017 at 07:00 PM


Initially I exported the data from TS without adjusting sessions. Assuming the sessions are not adjusted in GSB, the results should match,

Do you mean that GSB will override the sessions from TS export and always use 830 to 1500?


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 11-5-2017 at 07:15 PM


GSB will not override the settings. Do you ahve 0$ slippage & commission on GSB and TS?
Worst case you can put debug script on, and nail exactly whats different.
You could also try if all GSB systems are different, or just some.

diags.png - 149kB


View user's profile View All Posts By User
gmoney
Junior Member
**




Posts: 14
Registered: 8-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 27-5-2017 at 09:05 AM


With GSB 22.0, results between GSB and TS are very different. In some cases within 25% difference, and sometimes wildly different (nice profit in GSB, losses in TS). I triple checked commission, slippage, custom sessions etc. In fact, I imported the exact same data files into TS for comparison and results are still different. This is true for every system and symbol I tested.

I tested 20.4 and results between GSB and TS match almost perfectly.

I have screenshots and the code if you want me to post those. How do I embed or attach those in a forum post?

HERE ARE SCREENSHOTS
GSB.PNG - 108kB TS.PNG - 69kB


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 28-5-2017 at 03:18 PM


You can do a post, then edit and attache files.
Upload on the forum is very slow. If files are large .7zip works better than zip. Either should be ok.
You should be on 23.2 build
You need to have diag on so the results of each indicator can be compared from gsb to ts.
I expect a number of bug fixes this week. We need to figure out of the differences are due to a specific indicator or not.


View user's profile View All Posts By User
gmoney
Junior Member
**




Posts: 14
Registered: 8-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 30-5-2017 at 09:38 AM


Screenshots added. If you want the code also, please let me know.

View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 30-5-2017 at 03:32 PM


Youve got indicators which have been in GSB for some time. I was expecting problems with the newer indicator only.
The ability to put a known system from GSB to another was removed when we had secondary filters added. It will come back in.
So I cant reproduce this in my GSB.
You are going to have to put diag mode on, click off the system then back on to the system.
Then the diag info will be in the TS code.
Put the GSBTS code in TS, and compare the print log.
Secondary filters diag is not in GSB till the next build
Then you or I need to compare the logs to see the issue.
Im hopping to make an automated version of this in GSB down the track.
I enclose screen shots of me doing this.
Its going to be common to get a difference in the beginning of data, but this can be ignored. Reason can be maxbarsback are different etc
You did a good job by using gsb txt data in TS. That's also a reason for differences which youve ruled out in this case


max-hurst.png - 125kB max-hurst_later.png - 83kB


View user's profile View All Posts By User
gmoney
Junior Member
**




Posts: 14
Registered: 8-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 30-5-2017 at 05:40 PM


Where in GSB 24.1 can I turn on the diag GSBTS code? Before it was called debug but it appears to have been removed.

View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 30-5-2017 at 05:43 PM


turn advanced mode on under app settings gui

View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 30-5-2017 at 06:23 PM


Todays build of GSB will have fixes for issues with the new indicators, and some of the old ones.
Also it will have secondary filters diag info in the debug file. SHould come out in the next 4 hours I hope.


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 31-5-2017 at 12:55 AM


24.5 still has issues but its much improved. Im getting better performance in ts compared to gsb
I tested about 9 systems and two were out. Both ts versions were better than GSB

out2.png - 216kBout2b.png - 155kB


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 31-5-2017 at 01:33 AM


I am planing to have a GSB feature where you dump the TS print log into GSB, and it diagnoses the issue.

View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 7-6-2017 at 07:35 PM


I am often finding adjusting the variable sfEntryLevel seems to fix many of the miss-matches.
If result > entryLevel AND sfResult > sfEntryLevel And sfResult[1] > sfEntryLevel Then ..
Still waiting for the diag tool to be built


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 7-7-2017 at 05:48 PM


I now have 6 of 6 systems matching. 100.0000% match to TS, and 98+ % match to MC. (often 2 trades out)

testa-mc.png - 101kB TestB-mc.png - 94kB testC-mc.png - 88kB testd-mc.png - 82kB teste-mc.png - 84kB testf-mc.png - 83kB

Attachment: Login to view the details


View user's profile View All Posts By User

  Go To Top

Trademaid forum. Software tools for TradeStation, MultiCharts & NinjaTrader
[Queries: 47] [PHP: 40.0% - SQL: 60.0%]