20 lines
964 B
Plaintext
20 lines
964 B
Plaintext
|
|
- Open up a ladder for a liquid future
|
|
- Make sure you have limits to trade this future
|
|
- Select Top order from the menu
|
|
Label 1) Set top thresh to absolute 50, start with a bid at the best, 10 lot
|
|
|
|
The goal of the top order is to not trade by yourself.
|
|
IF the order is on the market (current bid price) AND the quantity on that bid price is below top
|
|
thresh then cancel the order else do nothing
|
|
|
|
|
|
- Verify that orders immediately cancel if you put them in and inside market with less then the threshold
|
|
- Verify that orders cancel if they end up working at an inside market with less than threshold size
|
|
|
|
Goto Label l and test a sell
|
|
|
|
Now do this test again with "Enable Hedge" checked and hedge ticks set to 1, hedge type set to limit
|
|
|
|
This should modify the behavior such that the algorithm will send a limit order on the opposite
|
|
side of the market, one tick away from fill price in a quantity equivalent to the amount of the fill |