Gamestudio Links
Zorro Links
Newest Posts
Bar missing bug?
by jcl. 01/19/26 10:47
400 free seamless texture pack downl. here !
by NeoDumont. 01/18/26 19:09
FXCM demo test failed
by qin. 01/13/26 13:53
Camera always moves upwards?
by NeoDumont. 01/12/26 09:39
Alpaca Plugin v1.5.2 Release
by kzhao. 01/11/26 13:42
Alpaca Plugin v1.4.0
by kzhao. 01/11/26 13:38
separating groups of 3 digits by a comma
by joe_kane. 01/11/26 00:01
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (qin, Quad, VoroneTZ, 1 invisible), 5,957 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
promfast, joe_kane, Namitha_NN, Syndrela, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Bar missing bug? #489097
Yesterday at 14:27
Yesterday at 14:27
Joined: Jan 2023
Posts: 35
Q
qin Online OP
Newbie
qin  Online OP
Newbie
Q

Joined: Jan 2023
Posts: 35
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 (2 downloads)
test.c (2 downloads)
output.pngt6data.png
Last edited by qin; Yesterday at 23:41.
Re: Bar missing bug? [Re: qin] #489099
2 hours ago
2 hours ago
Joined: Jul 2000
Posts: 28,052
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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