Skip to content
Forensicoins

Strategy and risk · Lesson 10

Test the bot’s entry rule

Write down a prediction before looking at a result.

The account bot looks for a rise of at least 0.25% between consecutive eligible quotes from the same source, no more than five minutes apart. An entry also needs an eligible instrument, room in the portfolio and enough virtual cash.

Worked example

Two same-source quotes move from $100.00 at 10:00 to $100.30 at 10:03. The 0.30% rise meets the price and time conditions. At 10:07 the same price would fall outside the five-minute window if 10:00 were still the previous quote.

Try it

Start a virtual run, then record two consecutive quotes with their source and times. A new run needs its own starting quote. Calculate the move and compare your prediction with the bot’s entries. You may have missed updates between observations.

Check your understanding

Would a rise from $100.00 to $100.20 over two minutes clear the price threshold?

Show answer

No. The rise is 0.20%. The time interval qualifies, but the price move is too small.

Desk walkthroughs

Set risk, start and pause the bot

Further reading