26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
This test verifies that clip limits are followed, and rule precedence works correctly
|
|
|
|
Use the SIM exchange for all steps.
|
|
|
|
0. Pick a future, let's say CLX8, and verify you can enter orders for it
|
|
|
|
1. Pick another future, lets say BZQ8.
|
|
|
|
2. In the Spark Admin, go to accounts and select the default account for your user (let say ACC A).
|
|
|
|
4. Now go to Limits, Clip Limits and delete the BZ future rows in the SIM exchange
|
|
|
|
5. Enter an order and it should fail with a message that should tell exactly why. Make sure the orderbook and the
|
|
ladder show the message.
|
|
|
|
6. Now enter a Clip Limit for BZ.
|
|
Enter a Clip Size of 10. Make sure orders > 10 are rejected and < 10 are allowed.
|
|
|
|
7. Delete the BZ spread clip limits row
|
|
|
|
8. Verify you can no longer enter BZ spread trades, but you can still enter BZ future trades
|
|
|
|
9. Delete all rows for clip limits. Make sure you can not enter a future or spread order. Now
|
|
enter a row for Spreads (All) with clip limit 100. Make sure that works correctly, ie allows
|
|
spreads <= 100 but does not allow futures. Now enter a row for Futures (All) with clip limit 50.
|
|
Verify that this works correctly too. |