Navigation: Script Reference:
Block Type
Script Type
Bar
Day
Instrument
Position
Called When
Entry
Before Simulation
start of simulation
Before Test
start of test
Before Trading Day
=
start of day
Before Instrument Day
before each instrument day
Before Bar
before each intraday bar
After Instrument Open
after open
Before Order Execution
before the orders are executed in the market and filled or killed
After Bar
after each intraday bar
After Instrument Day
after each instrument day
Adjust Stops
for each position
After Trading Day
end of day
After Test
end of test
After Simulation
end of simulation
NOTE: Scripts shown as instrument scripts above are not run on holidays or other days where there is no instrument data. Scripts that are instrument independent are run every weekday regardless of holidays.