Files
spark/testing/docs/spreader_common_setup_2.txt
T
2019-10-29 18:53:17 -04:00

22 lines
1.1 KiB
Plaintext

This test makes sure the basic spreader functionality works for 2 legged synthetic spreads with one quoting leg
Iceberg
-------
0. Follow the instructions from docs/spreader_common_setup_2.txt
1. Enter a 1 lot spreader buy order at -0.275. Move the order up one tick at a time, 10 times, and
verify that the quoting sell order on SIZ1 moves 1 tick down along with it.
2. Move the spreader order back to -0.275. Make sure the quote order follows it.
3. Cancel the spreader order. Go to the spreader params (Synthetic Management window), enable the
"Inside Market Distance" on the quoting leg and enter 3. Read the "Inside Market Distance" help tooltip.
4. Enter a 1 lot spreader buy order at -0.275. Again move the spreader order up tick at a time.
Verify that the quoting order does not move toward the inside market (18.525) unless its 3 ticks away from it.
5. Verify that it should always move away from the inside market.
6. Now that you know how it works, use your imagination and test some corner cases (ex when the order
it self is in the inside market, when there is no other inside market besides this order etc).