Files
spark/testing/manual/admin/spread_position_limits.txt
T
2018-11-01 11:41:00 -04:00

21 lines
844 B
Plaintext

This test verifies the following 2 things
i. future and spread product limits can co-exist and work correctly
ii. spread legs fills (and working orders) are applied toward enforcing
the position limits for the legs
iii. leg limits are checked when entering spread orders
i:
1. Pick a 2 legged spread (lets say SIU8-SIZ8). Set the clip limits high for both spreads and futures
so that they don't interfere.
2. For the Position Limits, set Max Long and Max Short of 100 and 110
for the SI futures and 20 and 30 for the SI spreads respectively.
3. Verify that the limits set in 2 work for futures(remember working orders count toward limit enforcement so you dont need
fills). Cancel all the orders.
4. Verify that the limits set in 2. work for spreads. Cancel all the orders.
5. Make these position limits 1,000,000 to make them irrelevant