Trading Time Zone: Session Boundary, DST ও False Daily Signal
সর্বশেষ সংরক্ষিত:

Executive Summary
- ✦Daily candle session rule দিয়ে তৈরি, তাই একই trade থেকেও দুই vendor আলাদা open, close ও direction দেখাতে পারে।
- ✦Raw time UTC-তে store করুন, exchange time রাখুন এবং fixed offset-এর বদলে named timezone rule দিয়ে convert করুন।
- ✦Stocks, futures, FX ও crypto-তে আলাদা session convention আছে, বিশেষ করে overnight activity ও daily close-এর ক্ষেত্রে।
- ✦Indicator-এর আগে session bar বানান এবং research ও live execution-এ একই calendar ও boundary রাখুন।
Trading Time Zone: Session Boundary, DST ও False Daily Signal
Evergreen trading tutorial: এই guide timestamp ও session definition কীভাবে chart ও backtest বদলায় তা ব্যাখ্যা করে। সব example hypothetical। এটি শিক্ষামূলক তথ্য; personalised advice বা trade recommendation নয়।
দুটি platform একই trade পেলেও আলাদা daily candle দেখাতে পারে। একটি 00:00 UTC-তে day close করে, অন্যটি New York close-এ, আর futures platform overnight session-কে পরের exchange trading date-এ assign করতে পারে। Daylight-saving change-এর সময় difference এক ঘণ্টা সরে যেতে পারে।
এতে open, close, gap, moving average, RSI, breakout এবং daily bar-ভিত্তিক strategy বদলায়। Chart interpret করার আগে trader-কে জানতে হবে তার “day” আসলে কী বোঝায়।
শেখার লক্ষ্য
এই guide শেষে আপনি পারবেন:
- event time, exchange time, UTC ও display time আলাদা করতে;
- vendor অনুযায়ী daily candle কেন বদলায় তা বুঝতে;
- daylight-saving transition ও overnight session handle করতে;
- backtest-এ timezone leakage ঠেকাতে; এবং
- stocks, futures, FX ও crypto-র জন্য consistent session policy বানাতে।
একটি dataset-এর চার clock
Event time
Trade, quote, filing বা news release আসলে কখন ঘটেছে। Reliable record-এ সাধারণত UTC offset থাকে বা unambiguously UTC-তে convert করা যায়।
Exchange time
Venue যে local clock ব্যবহার করে। Exchange calendar regular session, auction, holiday ও early close define করে।
Storage time
Database-এ লেখা timestamp। UTC সাধারণত safest standard, কারণ local-clock change-এর ambiguity এড়ায়।
Display time
Chart বা interface-এ selected timezone। এটি বদলালে event না বদলিয়েও অন্য calendar date-এ চলে যেতে পারে।
09:30 timestamp-এর date, timezone ও daylight-saving status জানা না থাকলে এটি incomplete।
Daily candle কেন আলাদা হয়
Daily OHLC bar chosen boundary-এর ভেতরের observation group করে:
- Open: session-এর প্রথম eligible price;
- High/low: session-এর extreme;
- Close: শেষ eligible price; এবং
- Volume: session-এ assigned eligible activity।
Boundary বদলালে প্রতিটি value বদলাতে পারে। Exchange-traded share-এর official regular-session close after-hours exclude করতে পারে। 24-hour crypto vendor UTC midnight ব্যবহার করতে পারে, অন্যটি local timezone-এ candle বানায়। FX broker-এর server-day cut-off আলাদা হতে পারে। Futures-এর exchange-defined trading date প্রায়ই আগের calendar evening-এর activity নেয়।
কোনো candle-ই mathematically ভুল নাও হতে পারে; তারা আলাদা session question-এর answer দেয়।
Daylight-saving time offset সরায়
সব market একই date-এ clock change করে না, আর কিছু location DST ব্যবহারই করে না। বছরের কিছু সময় London ও New York-এর time gap usual value থেকে সাময়িকভাবে আলাদা হয়। Fixed UTC offset hard-code করলে open, close বা economic release এক ঘণ্টা সরে যেতে পারে।
Updated timezone database-সহ Europe/London বা America/New_York-এর মতো IANA timezone ব্যবহার করুন। শুধু GMT, EST বা “local time” label store করবেন না এবং সারা বছর fixed hour যোগ করে conversion করবেন না।
Hypothetical example: একটি Bitcoin market, দুই daily candle
Simplified 24-hour price path ধরুন:
- 00:00 UTC: $80,000;
- 16:00 UTC: $82,000;
- 21:00 UTC: $81,500;
- next 00:00 UTC: $81,000; এবং
- next 21:00 UTC: $80,500।
UTC-midnight candle $80,000-এ open এবং $81,000-এ close—+1.25% change।
অন্য vendor hypothetical day boundary হিসেবে 21:00 UTC নেয়। তার candle $81,500-এ open এবং পরের দিন $80,500-এ close—−1.23% change।
Underlying price একই। Observation window আলাদা বলে একটি positive এবং অন্যটি negative daily candle দেখায়। Daily breakout, moving-average crossover বা “green-day” statistic তাই disagree করতে পারে।
Better-looking candle বেছে নেওয়া solution নয়। Strategy-কে একটি economically meaningful boundary define করে research ও live execution-এ consistently ব্যবহার করতে হবে।
Instrument-specific session risk
UK ও US shares
Regular session-কে pre-market, after-hours ও auction থেকে আলাদা করুন। Extended-hours data-র indicator regular-session-only indicator-এর সঙ্গে directly comparable নয়।
Futures
Exchange trading date আগের calendar evening-এ শুরু হতে পারে এবং maintenance break থাকতে পারে। Continuous futures-এ roll policy-ও দরকার। Contract specification না বললে midnight-কে boundary ধরবেন না।
Spot FX
Business week-এ FX প্রায় সারাক্ষণ trade হয়, কিন্তু broker server cut-off দিয়ে daily candle বানায়। বিশেষ করে Sunday opening activity-তে weekly bar-এর number ও shape বদলাতে পারে।
Crypto
Crypto continuous trade হয়। “Daily close” market shutdown নয়, convention। Daily level publish বা test করার সময় vendor boundary ও timezone লিখুন।
Step-by-step session policy
1. Canonical storage clock নিন
Raw timestamp full precision-সহ UTC-তে store করুন। সম্ভব হলে original exchange timestamp ও source রাখুন।
2. Official calendar ব্যবহার করুন
Venue-এর published holiday, early close, auction ও maintenance window load করুন। শুধু weekday rule যথেষ্ট নয়।
3. Eligible activity define করুন
Bar regular trading, extended hours, auction নাকি সব print নেয় তা লিখুন। Price ও volume-এ একই definition দিন।
4. Trading date explicitly assign করুন
Overnight market-এ local calendar date নয়, exchange trading date-এ timestamp map করুন।
5. Timezone rule দিয়ে convert করুন
Fixed offset নয়, named timezone database ব্যবহার করুন। Spring ও autumn clock change-এর সপ্তাহ test করুন।
6. Resampling-এর পরে indicator বানান
আগে session bar, পরে moving average, ATR বা RSI calculate করুন। এক boundary-এর indicator ও অন্য boundary-এর entry hidden inconsistency তৈরি করে।
7. Research ও production match করুন
Live pipeline-এ backtest-এর একই calendar, boundary ও eligible print লাগবে। Vendor change detect করতে settings version করুন।
8. Small sample visually audit করুন
Normal session, early close ও DST-transition week-এ raw timestamp, resulting bar ও official close compare করুন।
Simple backtest failure
ধরুন strategy breakout-এর পরে “daily close”-এ buy করে। Backtest 00:00 UTC-তে data resample করে, কিন্তু live execution New York-close chart ব্যবহার করে। Live signal কয়েক ঘণ্টা পরে আসতে পারে, যখন price ইতিমধ্যে move করেছে।
এটি boundary mismatch এবং execution-delay problem। Remaining edge টিকে কি না তা signal-decay guide-এ দেখুন।
Common mistakes
- Timezone-naive timestamp-কে complete ভাবা। একই clock time আলাদা instant বোঝাতে পারে।
- সারা বছর এক UTC offset hard-code করা। DST এক-hour error তৈরি করে।
- Overnight futures-এ calendar date ব্যবহার করা। Exchange trade-কে next session-এ দিতে পারে।
- Regular ও extended-hours bar মেশানো। Open, close, volume ও indicator inconsistent হয়।
- Crypto candle-কে universal daily close বলা। Boundary vendor-defined।
- Early close ignore করা। Shortened day missing data নয়।
- Session resampling-এর আগে indicator calculate করা। Input ও signal boundary আলাদা হতে পারে।
- Release ও price local time-এ join করা। ভুল conversion response-কে event-এর আগে দেখাতে পারে।
- Review-এর সময় chart timezone বদলানো। Visual signal অন্য date-এ চলে যায়।
- দুই vendor chart exact match করবে ভাবা। Session rule আলাদা হতে পারে।
Practical checklist
- প্রতিটি timestamp-এ timezone information আছে বা UTC-তে stored।
- Original exchange time ও source retained।
- Official holiday, auction ও early close loaded।
- Regular ও extended-hours treatment documented।
- Overnight trade correct trading date-এ mapped।
- Fixed offset-এর বদলে IANA timezone rule ব্যবহৃত।
- Spring ও autumn DST-transition week tested।
- Crypto ও FX daily boundary vendor অনুযায়ী recorded।
- Indicator-এর আগে bar built।
- Backtest ও live session setting match।
- Vendor বা calendar change versioned।
- Sample bar official close ও raw trade-এর সঙ্গে reconciled।
The Money Man View
Daily candle calendar rule দিয়ে তৈরি summary; universal object নয়। Timezone ও session error gap বানাতে, signal shift করতে এবং information আসার আগেই trade দেখাতে পারে। UTC-তে time store করুন, official exchange calendar দিয়ে activity map করুন, প্রতিটি boundary document করুন এবং research-কে live data-এর সঙ্গে align রাখুন। Strongest backtest দেওয়া candle বেছে নেওয়ার চেয়ে consistency বেশি গুরুত্বপূর্ণ।
শিক্ষামূলক risk disclosure: Data vendor, exchange ও broker আলাদা timestamp ও session rule ব্যবহার করতে পারে। Rule ভুল apply হলে historical test ভুল হয়, আর corrected dataset future return guarantee করে না। The Money Man editorial process অনুযায়ী AI-assisted research ও writing-এর সাহায্যে articleটি প্রস্তুত হয়েছে।