From 426f3ff38bd504f49f48e2941a1516a4168bb98a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 2 Apr 2023 23:18:00 -0400 Subject: [PATCH] ib: lul, fix oil (cl) venue to correctly be nymex.. --- piker/brokers/ib/api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/piker/brokers/ib/api.py b/piker/brokers/ib/api.py index 355ab362..3d77ee6d 100644 --- a/piker/brokers/ib/api.py +++ b/piker/brokers/ib/api.py @@ -180,6 +180,8 @@ _adhoc_cmdty_set = { 'xagusd.cmdty', # silver spot } +# NOTE: if you aren't seeing one of these symbol's futues contracts +# show up, it's likely the `.` part is wrong! _adhoc_futes_set = { # equities @@ -205,7 +207,7 @@ _adhoc_futes_set = { 'mgc.comex', # micro # oil & gas - 'cl.comex', + 'cl.nymex', 'ni.comex', # silver futes 'qi.comex', # mini-silver futes