I want my strategy to take position at 9.20 AM.
I tried these two conditions :
( Time ( ‘NSE’ ) == Number ( ‘0920’ ) ) and ( Positions Detail ( ‘strategy_id’, ‘run_counter’, ‘Entry’, ‘All’, ‘All’, ‘quantity’, ‘NIFTY 50’ ) == Number ( ‘0’ ) )
( Time ( ‘NSE’ ) >= Number ( ‘0920’ ) ) and ( Positions Detail ( ‘strategy_id’, ‘run_counter’, ‘Entry’, ‘All’, ‘All’, ‘quantity’, ‘NIFTY 50’ ) == Number ( ‘0’ ) )
Both of them do not work. What mistake I am doing ?