File tree 2 files changed +13
-8
lines changed
2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 7
7
PATH
8
8
remote: .
9
9
specs:
10
- ib-api (972.1 )
10
+ ib-api (972.2 )
11
11
activemodel
12
12
activesupport (>= 6.0 )
13
13
14
14
GEM
15
15
remote: https://rubygems.org/
16
16
specs:
17
- activemodel (6.1.0 )
18
- activesupport (= 6.1.0 )
19
- activesupport (6.1.0 )
17
+ activemodel (6.1.2.1 )
18
+ activesupport (= 6.1.2.1 )
19
+ activesupport (6.1.2.1 )
20
20
concurrent-ruby (~> 1.0 , >= 1.0.2 )
21
21
i18n (>= 1.6 , < 2 )
22
22
minitest (>= 5.1 )
23
23
tzinfo (~> 2.0 )
24
24
zeitwerk (~> 2.3 )
25
25
coderay (1.1.3 )
26
- concurrent-ruby (1.1.7 )
26
+ concurrent-ruby (1.1.8 )
27
27
diff-lcs (1.4.4 )
28
28
ffi (1.13.1 )
29
29
formatador (0.2.5 )
41
41
guard (~> 2.1 )
42
42
guard-compat (~> 1.1 )
43
43
rspec (>= 2.99.0 , < 4.0 )
44
- i18n (1.8.5 )
44
+ i18n (1.8.9 )
45
45
concurrent-ruby (~> 1.0 )
46
46
listen (3.2.1 )
47
47
rb-fsevent (~> 0.10 , >= 0.10.3 )
48
48
rb-inotify (~> 0.9 , >= 0.9.10 )
49
49
lumberjack (1.2.8 )
50
50
method_source (1.0.0 )
51
- minitest (5.14.2 )
51
+ minitest (5.14.3 )
52
52
nenv (0.3.0 )
53
53
notiffany (0.1.3 )
54
54
nenv (~> 0.1 )
@@ -89,7 +89,7 @@ PLATFORMS
89
89
ruby
90
90
91
91
DEPENDENCIES
92
- bundler ( ~> 1.17 )
92
+ bundler
93
93
guard
94
94
guard-rspec
95
95
ib-api !
Original file line number Diff line number Diff line change @@ -514,6 +514,11 @@ def to_human
514
514
( account ? "/#{ account } " : '' ) +
515
515
( commission ? " fee #{ commission } " : '' ) + ">"
516
516
end
517
+ def serialize_rabbit
518
+ { 'Contract' => contract . present? ? contract . serialize ( :option , :trading_class ) : '' ,
519
+ 'Order' => self ,
520
+ 'OrderState' => order_state }
521
+ end
517
522
518
523
end # class Order
519
524
end # module IB
You can’t perform that action at this time.
0 commit comments