How to check for 10:00 or 11:00 (Minute keyword range) — Tradetron Community
← Community

How to check for 10:00 or 11:00 (Minute keyword range)

Keyword help 862 views

Raghu

The ‘Minute’ keyword documentation says its range is 1-59. How do we use Minute to check the time when its 00 minutes like 10:00 or 11:00 ? Please let me know if someone is using this kind of check.

Tradetron Team Tradetron team

Short answer: for a check at the top of the hour, use the Time keyword, not Minute.

The Minute keyword returns the current minute as a number, and its documented range is 1–59. So a Minute == 0 check is not something the docs support.

Time returns the clock time as an HHMM number, so 10:00 is 1000 and 11:00 is 1100.

Examples

  • At or after 10:00: Time('NSE') >= Number(1000)
  • Only in the first minutes of 11:00: Time('NSE') >= Number(1100) AND Time('NSE') <= Number(1102)
  • Any minute except the top of the hour: Minute('NSE') >= Number(1) works, because 1–59 covers every other minute.

Use >= rather than == with Time. A condition check can land a few seconds after 10:00, so an exact == match can be missed. Keyword reference: Keyword Documentation — Tradetron

:sparkles: Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.