Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (7th_zorro), 927 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Gaps in Beta / Binance Futures (maybe a bug?) #483049
04/27/21 12:45
04/27/21 12:45
Joined: Feb 2021
Posts: 19
C
CpOo Offline OP
Newbie
CpOo  Offline OP
Newbie
C

Joined: Feb 2021
Posts: 19
Hi,

I am trying beta version and found that some data is missing, from 1 minute to few hours and also whole days. I checked the t6 file using the viewer (Z History Editor) and the data is there and it's Ok. I deleted the t6 file and download again from the Broker (New Binance Futures plugin / BTCUSDT and ETHUSDT data) and problem persist. Data is in the t6 file (as I can see with the Z editor) but it's not showing in the chart / not using for backtesting (worst thing is this obviously). Also check the data with the Gap Finder script and I can see the gaps also there.

I also try to move the Data from the beta to 2.35 and same thing happens.

Any help / advise would be much appreciated.

Re: Gaps in Beta / Binance Futures (maybe a bug?) [Re: CpOo] #483050
04/27/21 13:48
04/27/21 13:48
Joined: Feb 2017
Posts: 1,726
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,726
Chicago
You’re saying the data is all there in t6 but not in Zorro?

Re: Gaps in Beta / Binance Futures (maybe a bug?) [Re: AndrewAMD] #483051
04/27/21 14:15
04/27/21 14:15
Joined: Feb 2021
Posts: 19
C
CpOo Offline OP
Newbie
CpOo  Offline OP
Newbie
C

Joined: Feb 2021
Posts: 19
Yes, exactly that. I will upload some screenshots in few hours.

Re: Gaps in Beta / Binance Futures (maybe a bug?) [Re: CpOo] #483052
04/27/21 15:18
04/27/21 15:18
Joined: Feb 2017
Posts: 1,726
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,726
Chicago
If there’s no gap in your t6 file, then it’s more likely a script problem. Post your script and t6 files.

Re: Gaps in Beta / Binance Futures (maybe a bug?) [Re: AndrewAMD] #483054
04/27/21 16:13
04/27/21 16:13
Joined: Feb 2021
Posts: 19
C
CpOo Offline OP
Newbie
CpOo  Offline OP
Newbie
C

Joined: Feb 2021
Posts: 19
Hi Andrew,

Thank you very much for your help. I am using the GapFinder.c script to see the data and the gaps:

Code
// Display gaps in historical data.
// Red lines = gap length in days. 

function run()
{
	StartDate = 2012;
	LookBack = 0;
	set(PLOTNOW);
	BarPeriod = 1;
	asset("BTCUSDT");

	var m = minutesAgo(1);
	plot("Gap",m/(60*24),NEW,RED);
	//plot("Gap1m",m/(60*60*24),NEW,BLUE);

	}


I attach some examples:

Capture 1: You can see a big gap between Apr 16 20:00 and Apr 18 23:00... more than 2 days.

Capture 2: Same data (same .t6 file) on "Z History Editor". You can see that data from Apr 16 to Apr 18 is already there.

Capture 3 and Capture 4: Same data but in Z history editor grid view (at 20:00 and 00:00 of Apr 16)

Data is from Binance Futures plugin (the new Zorro plugin) and I downloaded using the default Download Script, connected to Binance production endpoint (wss://fstream.binance.com)

I try to upload also the t6 file but is not possible because its about 6Mb.

Attached Files 1.png2.png3.png4.png
Last edited by CpOo; 04/27/21 16:15.
Re: Gaps in Beta / Binance Futures (maybe a bug?) [Re: CpOo] #483056
04/27/21 16:33
04/27/21 16:33
Joined: Feb 2017
Posts: 1,726
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,726
Chicago
You need to enable weekend bars for the weekend candles to load. Otherwise, Zorro will filter them out.

Re: Gaps in Beta / Binance Futures (maybe a bug?) [Re: AndrewAMD] #483057
04/27/21 17:44
04/27/21 17:44
Joined: Feb 2021
Posts: 19
C
CpOo Offline OP
Newbie
CpOo  Offline OP
Newbie
C

Joined: Feb 2021
Posts: 19
OMG! I promise you that I spent hours reading and trying to solve this... But without any luck.

Thank you very much!

The code to trade 24/7 and reset Weekends:

Code
function run()
{
	
	resf(BarMode, BR_WEEKEND);
....


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1