How to set execution order
-
What is the best way to assure that my closure routine is executed before my new trade routine?
I prefer not to chain link them.
Any suggestions?
-
When blocks are not chained, then their numbers can be important. Blocks with lower numbers run first. But you should be able to see how things work in backtest.
-
Ok
So I set block numbers manually
So the toplevel block number of the part I wnat to run first is lower then the parts that comes after
I imagine only the toplevel block is important, as everything chainlinked after will run automatically once the first toplevel runs, right?Thanks
-
When a block runs and does what it has to do, it's output becomes active, which immediately causes the next block to run. This will continue until some block of the chain does not pass or the chain ends. Then other groups of blocks come.