ib-symbols 1.1 → 1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/ib/symbols/combo.rb +1 -1
- data/lib/ib/symbols/futures.rb +35 -23
- data/lib/ib/symbols/index.rb +4 -4
- data/lib/ib/symbols/options.rb +1 -1
- data/lib/ib/symbols/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 783f7b8ef15bf87574fbf9f8f10a0e1f45ce5fd62ea4613d0b2c06d05f5773db
|
4
|
+
data.tar.gz: 27a437d6c07ec60828a6153eb343a02f44a71e9801b6be49d0bb1b8c13c25a40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f3bf5c3953c26a0b2d4526e77310c598ae2ad1ab20a87a2e5b46b9449fa4f04184797b793b833edcb8b7bce3698177623790fb57ee439bdb836fb1c10863c20
|
7
|
+
data.tar.gz: 3bd3a8fc68924ad4eb645b952d085397367566e79185070ad0c57fca6b20648c5aa7efe7d01a37ef30ce97e6c64c6030b7e0b3a0856bae32a084fa0f54373f40
|
data/README.md
CHANGED
@@ -5,6 +5,8 @@ __Documentation: [https://ib-ruby.github.io/ib-doc/](https://ib-ruby.github.io/i
|
|
5
5
|
|
6
6
|
__Questions, Contributions, Remarks: [Discussions are opened in ib-api](https://github.com/ib-ruby/ib-api/discussions)__
|
7
7
|
|
8
|
+
__Note: In July 2022 IB changed the exchange for german (and swiss) assets to »EUREX«.__ (Version 1.2)
|
9
|
+
|
8
10
|
---
|
9
11
|
|
10
12
|
__Predefined symbols and watchlists for contracts__
|
data/lib/ib/symbols/combo.rb
CHANGED
@@ -17,7 +17,7 @@ module IB
|
|
17
17
|
expiry: IB::Symbols::Futures.next_expiry, trading_class: 'OESX'),
|
18
18
|
zn_calendar: IB::Calendar.fabricate( IB::Symbols::Futures.zn, '3m') ,
|
19
19
|
|
20
|
-
dbk_straddle: Bag.new( symbol: 'DBK', currency: 'EUR', exchange: '
|
20
|
+
dbk_straddle: Bag.new( symbol: 'DBK', currency: 'EUR', exchange: 'EUREX', combo_legs:
|
21
21
|
[ ComboLeg.new( con_id: 270581032 , action: :buy, exchange: 'DTB', ratio: 1), #DBK Dez20 2018 C
|
22
22
|
ComboLeg.new( con_id: 270580382, action: :buy, exchange: 'DTB', ratio: 1 ) ], #DBK Dez 20 2018 P
|
23
23
|
description: 'Option Straddle: Deutsche Bank(20)[Dez 2018]'
|
data/lib/ib/symbols/futures.rb
CHANGED
@@ -63,51 +63,63 @@ module IB
|
|
63
63
|
:description => "Mini-DJIA future"),
|
64
64
|
:nq => IB::Future.new(:symbol => "NQ",
|
65
65
|
:expiry => next_expiry,
|
66
|
-
:exchange => "
|
66
|
+
:exchange => "CME",
|
67
67
|
:currency => "USD",
|
68
68
|
:multiplier => 20,
|
69
69
|
:description => "E-Mini Nasdaq 100 future"),
|
70
|
+
:micro_nq => IB::Future.new(:symbol => "MNQ",
|
71
|
+
:expiry => next_expiry,
|
72
|
+
:exchange => "CME",
|
73
|
+
:currency => "USD",
|
74
|
+
:multiplier => 2,
|
75
|
+
:description => "E-Mini Nasdaq 100 future"),
|
70
76
|
:es => IB::Future.new(:symbol => "ES",
|
71
77
|
:expiry => next_expiry,
|
72
|
-
:exchange => "
|
78
|
+
:exchange => "CME",
|
73
79
|
:currency => "USD",
|
74
80
|
:multiplier => 50,
|
75
81
|
:description => "E-Mini S&P 500 future"),
|
76
82
|
:micro_es => IB::Future.new(:symbol => "MES",
|
77
83
|
:expiry => next_expiry,
|
78
|
-
:exchange => "
|
84
|
+
:exchange => "CME",
|
79
85
|
:currency => "USD",
|
80
86
|
:multiplier => 5,
|
81
87
|
:description => "Micro E-Mini S&P 500 future"),
|
88
|
+
:russell => IB::Future.new(:symbol => "RTY",
|
89
|
+
:expiry => next_expiry,
|
90
|
+
:exchange => "CME
|
91
|
+
:currency => "USD",
|
92
|
+
:multiplier => 5,
|
93
|
+
:description => "Micro E-Mini Russell 2000 future"),
|
82
94
|
:micro_russell => IB::Future.new(:symbol => "M2K",
|
83
95
|
:expiry => next_expiry,
|
84
|
-
:exchange => "
|
96
|
+
:exchange => "CME
|
85
97
|
:currency => "USD",
|
86
98
|
:multiplier => 5,
|
87
99
|
:description => "Micro E-Mini Russell 2000 future"),
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
:mini_dax => IB::Future.new( symbol: 'DAX', exchange: '
|
100
|
+
:zn => IB::Future.new( symbol: 'ZN',
|
101
|
+
expiry: next_expiry,
|
102
|
+
currency: 'USD',
|
103
|
+
multiplier: 1000,
|
104
|
+
exchange: 'ECBOT',
|
105
|
+
description: 'US Treasury Note -- 10 Years'),
|
106
|
+
:zb => IB::Future.new( symbol: 'ZB',
|
107
|
+
expiry: next_expiry,
|
108
|
+
currency: 'USD',
|
109
|
+
multiplier: 1000,
|
110
|
+
exchange: 'ECBOT',
|
111
|
+
description: 'US Treasury Note -- 30 Years'),
|
112
|
+
:mini_dax => IB::Future.new( symbol: 'DAX', exchange: 'EUREX',
|
101
113
|
expiry: next_expiry,
|
102
114
|
currency: 'EUR',
|
103
115
|
multiplier: 5,
|
104
116
|
description: 'Mini DAX-Future'),
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
:stoxx=> IB::Future.new( symbol: 'ESTX50', exchange: '
|
117
|
+
:dax => IB::Future.new( symbol: 'DAX', exchange: 'EUREX',
|
118
|
+
expiry: next_expiry,
|
119
|
+
currency: 'EUR',
|
120
|
+
multiplier: 25,
|
121
|
+
description: 'DAX-Future'),
|
122
|
+
:stoxx=> IB::Future.new( symbol: 'ESTX50', exchange: 'EUREX',
|
111
123
|
expiry: next_expiry,
|
112
124
|
currency: 'EUR',
|
113
125
|
multiplier: 10,
|
data/lib/ib/symbols/index.rb
CHANGED
@@ -6,7 +6,7 @@ module IB
|
|
6
6
|
|
7
7
|
def self.contracts
|
8
8
|
@contracts.presence || super.merge(
|
9
|
-
:dax => IB::Index.new(:symbol => "DAX", :currency => "EUR", exchange: '
|
9
|
+
:dax => IB::Index.new(:symbol => "DAX", :currency => "EUR", exchange: 'EUREX',
|
10
10
|
:description => "DAX Performance Index."),
|
11
11
|
:asx => IB::Index.new( :symbol => 'AP', :currency => 'AUD', exchange: 'ASX',
|
12
12
|
:description => "ASX 200 Index" ),
|
@@ -14,7 +14,7 @@ module IB
|
|
14
14
|
:description => "Hang Seng Index" ),
|
15
15
|
:minihsi => IB::Index.new( :symbol => 'MHI', :currency => 'HKD', exchange: 'HKFE',
|
16
16
|
:description => "Mini Hang Seng Index" ),
|
17
|
-
:stoxx => IB::Index.new(:symbol => "ESTX50", :currency => "EUR", exchange: '
|
17
|
+
:stoxx => IB::Index.new(:symbol => "ESTX50", :currency => "EUR", exchange: 'EUREX',
|
18
18
|
:description => "Dow Jones Euro STOXX50"),
|
19
19
|
:spx => IB::Index.new(:symbol => "SPX", :currency => "USD", exchange: 'CBOE',
|
20
20
|
:description => "Dow Jones Euro STOXX50"),
|
@@ -22,9 +22,9 @@ module IB
|
|
22
22
|
:description => "Hang Seng Volatility Index"),
|
23
23
|
:vasx => IB::Index.new( symbol: 'XVI', exchange: 'ASX',
|
24
24
|
:description => "ASX 200 Volatility Index") ,
|
25
|
-
:vstoxx => IB::Index.new(:symbol => "V2TX", :currency => "EUR", exchange: '
|
25
|
+
:vstoxx => IB::Index.new(:symbol => "V2TX", :currency => "EUR", exchange: 'EUREX',
|
26
26
|
:description => "VSTOXX Volatility Index"),
|
27
|
-
:vdax => IB::Index.new(:symbol => "VDAX", exchange: '
|
27
|
+
:vdax => IB::Index.new(:symbol => "VDAX", exchange: 'EUREX',
|
28
28
|
:description => "German VDAX Volatility Index"),
|
29
29
|
:vix => IB::Index.new(:symbol => "VIX", exchange: 'CBOE',
|
30
30
|
:description => "CBOE Volatility Index"),
|
data/lib/ib/symbols/options.rb
CHANGED
@@ -14,7 +14,7 @@ module IB
|
|
14
14
|
expiry: IB::Symbols::Futures.next_expiry ,
|
15
15
|
right: :put,
|
16
16
|
trading_class: 'OESX',
|
17
|
-
currency: 'EUR', exchange: '
|
17
|
+
currency: 'EUR', exchange: 'EUREX',
|
18
18
|
description: "ESTX50 Put Option quarterly"),
|
19
19
|
:ge => IB::Option.new(:symbol => "GE",
|
20
20
|
:expiry => IB::Symbols::Futures.next_expiry,
|
data/lib/ib/symbols/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ib-symbols
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.3'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hartmut Bischoff
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ib-api
|
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
164
|
- !ruby/object:Gem::Version
|
165
165
|
version: '0'
|
166
166
|
requirements: []
|
167
|
-
rubygems_version: 3.
|
167
|
+
rubygems_version: 3.3.7
|
168
168
|
signing_key:
|
169
169
|
specification_version: 4
|
170
170
|
summary: Predefined symbols and watchlist, part of ib-ruby
|