Skip to content

Commit fe91fd1

Browse files
committed
UpdateLevel query (bug?) #38
1 parent a6997bb commit fe91fd1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tools/matching/scenario-15.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
enable matching
2+
add symbol 0 EURUSD
3+
add book 0
4+
5+
# Add sell limit order (Id = 1, SymbolId = 0) with price = 23000 and quantity = 15
6+
add limit sell 1 0 23000 15
7+
8+
# Top of the book sell price is 23000
9+
10+
# Add sell limit order (Id = 2, SymbolId = 0) with price = 25000 and quantity = 25
11+
add limit sell 2 0 25000 25
12+
13+
# Top of the book sell price was not changed
14+
15+
# Fully execute the second order
16+
execute order 2 0 25
17+
18+
# Top of the book sell price was not changed

0 commit comments

Comments
 (0)