Time keyword: examples — Tradetron Community
← Help Center

Time keyword: examples

Keywords & logic 2 views

The Time keyword returns the current time as a number in HHMM format, 24-hour clock (for example, 3:05 PM is 1505).

Always use >=, not ==

The exact minute may be missed between condition checks or because of lag, so a == condition may never fire.

Trade only within a time window

For example, to trade only between 9:25 AM and 9:30 AM:

Exit at a set time

For example, to exit at 3:05 PM:

Pick the right exchange

Select the exchange that matches the instrument you trade.

NSE equity and F&O: Time (NSE)

MCX: Time (MCX)

CDS (currency): Time (CDS)

Crypto on Delta uses Time (DELTA), which runs on UTC, not IST.

:sparkles: Edited with AI from the original Tradetron article, checked against current docs (Oct 2026). Spot something wrong? Tell us in the Community.

Still stuck? Ask the community