Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
Hedge on FXCM, 4 or 5?
by qin. 02/11/26 14:12
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 8,653 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 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: 48
Q
qin Offline OP
Newbie
qin  Offline OP
Newbie
Q

Joined: Jan 2023
Posts: 48
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 (11 downloads)
test.c (15 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,072
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,072
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