Home › Practice › RTL Design › Tick-to-trade price trigger
Tick-to-trade price trigger
EasyRTLHFTsequential
In hardware tick-to-trade, a strategy watches incoming market ticks and fires a registered trigger pulse in a single clock cycle when the symbol matches and the price is at or below a limit.
Concept first. All checks run in parallel on the incoming tick and drive one output flip-flop fire so downstream order-sender logic sees a glitch-free signal. After passing, click Check area and speed to measure your trigger's OpenSTA clock speed.
rstis synchronous, active-high: on risingclkwithrst=1,fire <= 0.- Otherwise on rising
clk,fire <= 1if and only iftick_v=1,armed=1,sym_id == target_sym, and unsignedprice <= max_buy.
No install and no sign-up needed. You write your answer in the editor and Nishkam checks it.