-
Notifications
You must be signed in to change notification settings - Fork 122
/
contract_details.go
55 lines (52 loc) · 1.35 KB
/
contract_details.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package ib
// This file ports IB API ContractDetails.java. Please preserve declaration order.
// We have separated the Java code into the two natural structs they should be.
// ContractDetails .
type ContractDetails struct {
Summary Contract
MarketName string
MinTick float64
PriceMagnifier int64
OrderTypes string
ValidExchanges string
UnderContractID int64
LongName string
ContractMonth string
Industry string
Category string
Subcategory string
TimezoneID string
TradingHours string
LiquidHours string
EVRule string
EVMultiplier float64
SecIDList []TagValue
}
// BondContractDetails .
type BondContractDetails struct {
Summary Contract
MarketName string
TradingClass string
MinTick float64
OrderTypes string
ValidExchanges string
LongName string
Cusip string
Ratings string
DescAppend string
BondType string
CouponType string
Callable bool
Putable bool
Coupon float64
Convertible bool
Maturity string
IssueDate string
NextOptionDate string
NextOptionType string
NextOptionPartial bool
Notes string
EVRule string
EVMultiplier float64
SecIDList []TagValue
}