Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/08/26 18:50
zorro with ccxt?
by opm. 03/03/26 03:17
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Quad), 10,487 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Bar missing bug? #489097
01/18/26 14:27
01/18/26 14:27
Joined: Jan 2023
Posts: 52
Q
qin Offline OP
Junior Member
qin  Offline OP
Junior Member
Q

Joined: Jan 2023
Posts: 52
The bar in the t6 file is 1-hour frequency bar.
I used the following code to print the bar information and found that no bars were output for 2025-12-27.
On 2025-12-28, only one bar's information was output. This is very strange. Could it be a bug?
The attachments include the t6 file and the test code test.c.


test.c:
Code
function run() 
{
	set(LOGFILE);
	assetList("AssetsBinancePerptest"); 
	History = "D:\\Zorro\\History\\binance_perp\\*.t6"; 
	
	StartDate = 20251225;
	EndDate = 20251229;	
	LookBack = 1;	
	BarPeriod = 60;
	asset("btc");
	
	watch("date",year(), month(),day(),"hour",hour(),"min",minute());
	watch("date","O",priceO(0),"H",priceH(0),"L",priceL(0),"C",priceC(0));
	printf("\n");
	
}


outputs:


Attached Files
binance_perp.zip (14 downloads)
test.c (27 downloads)
output.pngt6data.png
Last edited by qin; 01/18/26 23:41.
Re: Bar missing bug? [Re: qin] #489099
01/19/26 10:47
01/19/26 10:47
Joined: Jul 2000
Posts: 28,081
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,081
Frankfurt
BTC is traded 24-7, so you should allow bars on weekends and holidays. See "BarMode" in the manual.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1