Skip to content

Commit c3fbfe1

Browse files
authored
Merge pull request vnpy#3021 from noranhe/fix_issue_3014
Fix issue 3014
2 parents 175368f + 4171144 commit c3fbfe1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

vnpy/gateway/ib/ib_gateway.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@
8686
Exchange.BATS: "BATS",
8787
Exchange.IEX: "IEX",
8888
Exchange.IBKRATS: "IBKRATS",
89-
Exchange.OTC: "PINK"
89+
Exchange.OTC: "PINK",
90+
Exchange.SGX: "SGX"
9091
}
9192
EXCHANGE_IB2VT = {v: k for k, v in EXCHANGE_VT2IB.items()}
9293

@@ -107,7 +108,8 @@
107108
"CMDTY": Product.SPOT,
108109
"FUT": Product.FUTURES,
109110
"OPT": Product.OPTION,
110-
"FOT": Product.OPTION
111+
"FOT": Product.OPTION,
112+
"CONTFUT": Product.FUTURES
111113
}
112114

113115
OPTION_VT2IB = {OptionType.CALL: "CALL", OptionType.PUT: "PUT"}

0 commit comments

Comments
 (0)