Example #1
0
 def securityDefinitionOptionParameter(
         self, reqId, exchange, underlyingConId, tradingClass,
         multiplier, expirations, strikes):
     chain = OptionChain(
         exchange, underlyingConId, tradingClass, multiplier,
         expirations, strikes)
     self._results[reqId].append(chain)
Example #2
0
 def securityDefinitionOptionParameter(self, reqId: int, exchange: str,
                                       underlyingConId: int,
                                       tradingClass: str, multiplier: str,
                                       expirations: List[str],
                                       strikes: List[float]):
     chain = OptionChain(exchange, underlyingConId, tradingClass,
                         multiplier, expirations, strikes)
     self._results[reqId].append(chain)