38 lines
2.0 KiB
Plaintext
38 lines
2.0 KiB
Plaintext
0. This needs sim market data **not** to be merged with replay (or cert), so we can create our own markets.
|
|
|
|
1. Bring up a ladder, lets say in SIN1 (does not matter which security)
|
|
2. Enter a 5 lot limit order at 20.00 (buy) (if there are no markets use the M View and the ticket to enter
|
|
the order)
|
|
3. In the dropdown select Trigger. For the trigger details, enter the following :
|
|
a. Trigger Condition->Price Type : Bid
|
|
b. Trigger Action->Price->Fixed : 19.975
|
|
c. Child Limit
|
|
d. Leave Trigger Exit conditions unchecked
|
|
4. Enter a 2 lot buy trigger order at 20.025. This means thats when the bid price (3.a) becomes >= trigger price (20.025)
|
|
a child order of type Limit (3.c) will be sent at 19.975 (3.b).
|
|
|
|
The logic of the trigger is as follows :
|
|
If at the time of order entry
|
|
market price <= trigger_price then the trigger condition is
|
|
market price >= trigger price.
|
|
|
|
If at the time of order entry
|
|
market price >= trigger_price then the trigger condition is
|
|
market price <= trigger price.
|
|
|
|
ie, it has to cross the trigger price level.
|
|
|
|
5. Now start moving the market toward the trigger (the market is the 5 lot limit order in 2.)
|
|
6. As soon as it >= 20.025, a buy child limit order should be sent at 19.975 (the trigger order should dissapear
|
|
from the ladder)
|
|
7. Cancel the child order, and make sure the parent trigger order also gets cancelled.
|
|
8. Take a look at the Orderbook, and make sure it makes sense.
|
|
|
|
9. Now bring the market back to 20.00 (by moving your limitorder) and make these 2 changes for the next trigger order.
|
|
Change the price to Payup/less and enter -3, and
|
|
enter a Timeout of 10 seconds. Now enter a 2 lot trigger order at 20.015, move your limit order (market) to cross the trigger.
|
|
Validate the child order is sent at trigger price 20.015 - 3 ticks. Now if the child order doesnt get filled
|
|
in 10 seconds the trigger order should cancel (along with its child order)
|
|
|
|
Now that you know how Trigger Orders work, spend 60 seconds more, and enter a sell trigger order (such that it gets filled),
|
|
with the child order being Iceberg. |