def securityDefinitionOptionParameter( self, reqId, exchange, underlyingConId, tradingClass, multiplier, expirations, strikes): chain = OptionChain( exchange, underlyingConId, tradingClass, multiplier, expirations, strikes) self._results[reqId].append(chain)
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)