From de4fab873bef0e9950b0d05651f59731ca7be9d9 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 23 Dec 2018 21:25:56 -0500 Subject: [PATCH] Ids should be allowed without contracts --- piker/brokers/questrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/brokers/questrade.py b/piker/brokers/questrade.py index fc75ff56..aeed571c 100644 --- a/piker/brokers/questrade.py +++ b/piker/brokers/questrade.py @@ -92,7 +92,7 @@ class _API: async def option_quotes( self, - contracts: Dict[ContractsKey, Dict[int, dict]], + contracts: Dict[ContractsKey, Dict[int, dict]] = {}, option_ids: List[int] = [], # if you don't want them all ) -> dict: """Retrieve option chain quotes for all option ids or by filter(s).