Skip to content
/ th2-demo-script Public template
forked from th2-net/th2-demo-script

Script for demo configuration.

Notifications You must be signed in to change notification settings

Hdd87/th2-demo-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

Scenarios:

Main Test Scenario - branch ver-1.6.1-main_scenario:

Suitable schema configuration:

https://github.com/th2-net/th2-infra-schema-demo/tree/ver-1.6.1-main_scenario

Updated ver-1.5.3-main_scenario.

Main Test Scenario - branch ver-1.5.3-main_scenario:

Suitable schema configuration:

https://github.com/th2-net/th2-infra-schema-demo/tree/ver-1.5.3-main_scenario

Scenario:

  1. User1 submit passive buy order with Price=x and Size=30 - Order1
  2. User1 receives an Execution Report with ExecType=0
  3. User1 submit passive buy order with Price=x+1 and Size=10 - Order2
  4. User1 receives an Execution Report with ExecType=0
  5. User2 submit an aggressive sell IOC order with price=x-1 and Size=100 - Order3
    1. User1 receives an Execution Report with ExecType=F on trade between Order2 and Order3
    2. User2 receives an Execution Report with ExecType=F on trade between Order3 and Order2
    3. User1 receives an Execution Report with ExecType=F on trade between Order1 and Order3
    4. User2 receives an Execution Report with ExecType=F on trade between Order3 and Order1
    5. User2 receives an Execution Report with ExecType=C on expired Order3

Main Test Scenario - branch ver-1.3.0-common2(outdated):

Suitable schema configuration:

https://github.com/th2-net/th2-infra-schema-demo/tree/ver-1.3.0

Scenario:

  1. User1 submit passive buy order with Price=x and Size=30 - Order1
  2. User1 receives an Execution Report with ExecType=0
  3. User1 submit passive buy order with Price=x+1 and Size=10 - Order2
  4. User1 receives an Execution Report with ExecType=0
  5. User2 submit an aggressive sell IOC order with price=x-1 and Size=100 - Order3
    1. User1 receives an Execution Report with ExecType=F on trade between Order2 and Order3
    2. User2 receives an Execution Report with ExecType=F on trade between Order3 and Order2
    3. User1 receives an Execution Report with ExecType=F on trade between Order1 and Order3
    4. User2 receives an Execution Report with ExecType=F on trade between Order3 and Order1
    5. User2 receives an Execution Report with ExecType=C on expired Order3

About

Script for demo configuration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published