From af9c30c3f5dfb5db22051c276c6cdff79d071184 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 13 Nov 2022 18:18:33 -0500 Subject: [PATCH] Handle futes venue remaps as per oct-nov 2022 rollout --- piker/brokers/ib/api.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/piker/brokers/ib/api.py b/piker/brokers/ib/api.py index 9448d1f6..2e1409fb 100644 --- a/piker/brokers/ib/api.py +++ b/piker/brokers/ib/api.py @@ -167,35 +167,35 @@ _futes_venues = ( _adhoc_futes_set = { # equities - 'nq.globex', - 'mnq.globex', # micro + 'nq.cme', + 'mnq.cme', # micro - 'es.globex', - 'mes.globex', # micro + 'es.cme', + 'mes.cme', # micro # cypto$ - 'brr.cmecrypto', - 'ethusdrr.cmecrypto', + 'brr.cme', + 'ethusdrr.cme', # agriculture - 'he.nymex', # lean hogs - 'le.nymex', # live cattle (geezers) - 'gf.nymex', # feeder cattle (younguns) + 'he.comex', # lean hogs + 'le.comex', # live cattle (geezers) + 'gf.comex', # feeder cattle (younguns) # raw - 'lb.nymex', # random len lumber + 'lb.comex', # random len lumber # metals # https://misc.interactivebrokers.com/cstools/contract_info/v3.10/index.php?action=Conid%20Info&wlId=IB&conid=69067924 'xauusd.cmdty', # london gold spot ^ - 'gc.nymex', - 'mgc.nymex', # micro + 'gc.comex', + 'mgc.comex', # micro # oil & gas - 'cl.nymex', + 'cl.comex', 'xagusd.cmdty', # silver spot - 'ni.nymex', # silver futes + 'ni.comex', # silver futes 'qi.comex', # mini-silver futes }