def __init__(self, date=None, open=None, high=None, low=None, close=None, volume=None, local_vars_configuration=None):  # noqa: E501
        """InlineResponse2XX5HistoryDay - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._date = None
        self._open = None
        self._high = None
        self._low = None
        self._close = None
        self._volume = None
        self.discriminator = None

        if date is not None:
            self.date = date
        if open is not None:
            self.open = open
        if high is not None:
            self.high = high
        if low is not None:
            self.low = low
        if close is not None:
            self.close = close
        if volume is not None:
            self.volume = volume
Ejemplo n.º 2
0
    def __init__(self,
                 high=None,
                 low=None,
                 open=None,
                 prev_close=None,
                 symbol=None,
                 type=None,
                 local_vars_configuration=None):  # noqa: E501
        """StreamingSummary - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._high = None
        self._low = None
        self._open = None
        self._prev_close = None
        self._symbol = None
        self._type = None
        self.discriminator = None

        if high is not None:
            self.high = high
        if low is not None:
            self.low = low
        if open is not None:
            self.open = open
        if prev_close is not None:
            self.prev_close = prev_close
        if symbol is not None:
            self.symbol = symbol
        if type is not None:
            self.type = type
Ejemplo n.º 3
0
    def __init__(self,
                 symbol=None,
                 exch=None,
                 bid=None,
                 ask=None,
                 last=None,
                 size=None,
                 date=None,
                 seq=None,
                 flag=None,
                 cancel=None,
                 correction=None,
                 session=None,
                 local_vars_configuration=None):  # noqa: E501
        """StreamingTimesale - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._symbol = None
        self._exch = None
        self._bid = None
        self._ask = None
        self._last = None
        self._size = None
        self._date = None
        self._seq = None
        self._flag = None
        self._cancel = None
        self._correction = None
        self._session = None
        self.discriminator = None

        if symbol is not None:
            self.symbol = symbol
        if exch is not None:
            self.exch = exch
        if bid is not None:
            self.bid = bid
        if ask is not None:
            self.ask = ask
        if last is not None:
            self.last = last
        if size is not None:
            self.size = size
        if date is not None:
            self.date = date
        if seq is not None:
            self.seq = seq
        if flag is not None:
            self.flag = flag
        if cancel is not None:
            self.cancel = cancel
        if correction is not None:
            self.correction = correction
        if session is not None:
            self.session = session
Ejemplo n.º 4
0
    def __init__(self, day=None, local_vars_configuration=None):  # noqa: E501
        """InlineResponse2XX5History - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._day = None
        self.discriminator = None

        if day is not None:
            self.day = day
Ejemplo n.º 5
0
    def __init__(self, account=None, local_vars_configuration=None):  # noqa: E501
        """ProfileProfile - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._account = None
        self.discriminator = None

        if account is not None:
            self.account = account
Ejemplo n.º 6
0
    def __init__(self, symbols=None, local_vars_configuration=None):  # noqa: E501
        """InlineResponse2XX3 - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._symbols = None
        self.discriminator = None

        if symbols is not None:
            self.symbols = symbols
Ejemplo n.º 7
0
    def __init__(self, quote=None, local_vars_configuration=None):  # noqa: E501
        """QuotesQuotes - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._quote = None
        self.discriminator = None

        if quote is not None:
            self.quote = quote
Ejemplo n.º 8
0
    def __init__(self,
                 expirations=None,
                 local_vars_configuration=None):  # noqa: E501
        """InlineResponse2XX1 - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._expirations = None
        self.discriminator = None

        self.expirations = expirations
Ejemplo n.º 9
0
    def __init__(self,
                 delta=None,
                 gamma=None,
                 thetha=None,
                 vega=None,
                 rho=None,
                 phi=None,
                 bid_iv=None,
                 mid_iv=None,
                 ask_iv=None,
                 smv_vol=None,
                 updated_at=None,
                 local_vars_configuration=None):  # noqa: E501
        """OptionGreeks - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._delta = None
        self._gamma = None
        self._thetha = None
        self._vega = None
        self._rho = None
        self._phi = None
        self._bid_iv = None
        self._mid_iv = None
        self._ask_iv = None
        self._smv_vol = None
        self._updated_at = None
        self.discriminator = None

        if delta is not None:
            self.delta = delta
        if gamma is not None:
            self.gamma = gamma
        if thetha is not None:
            self.thetha = thetha
        if vega is not None:
            self.vega = vega
        if rho is not None:
            self.rho = rho
        if phi is not None:
            self.phi = phi
        if bid_iv is not None:
            self.bid_iv = bid_iv
        if mid_iv is not None:
            self.mid_iv = mid_iv
        if ask_iv is not None:
            self.ask_iv = ask_iv
        if smv_vol is not None:
            self.smv_vol = smv_vol
        if updated_at is not None:
            self.updated_at = updated_at
Ejemplo n.º 10
0
    def __init__(self,
                 strike=None,
                 local_vars_configuration=None):  # noqa: E501
        """InlineResponse2XX2Strikes - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._strike = None
        self.discriminator = None

        if strike is not None:
            self.strike = strike
Ejemplo n.º 11
0
    def __init__(self,
                 option=None,
                 local_vars_configuration=None):  # noqa: E501
        """InlineResponse2XXOptions - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._option = None
        self.discriminator = None

        if option is not None:
            self.option = option
Ejemplo n.º 12
0
    def __init__(self, account_number=None, classification=None, day_trader=None, local_vars_configuration=None):  # noqa: E501
        """ProfileProfileAccount - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._account_number = None
        self._classification = None
        self._day_trader = None
        self.discriminator = None

        if account_number is not None:
            self.account_number = account_number
        if classification is not None:
            self.classification = classification
        if day_trader is not None:
            self.day_trader = day_trader
Ejemplo n.º 13
0
    def __init__(self,
                 root_symbol=None,
                 options=None,
                 local_vars_configuration=None):  # noqa: E501
        """InlineResponse2XX3Symbols - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._root_symbol = None
        self._options = None
        self.discriminator = None

        if root_symbol is not None:
            self.root_symbol = root_symbol
        if options is not None:
            self.options = options
Ejemplo n.º 14
0
    def __init__(self,
                 url=None,
                 sessionid=None,
                 local_vars_configuration=None):  # noqa: E501
        """InlineResponse2XX4Stream - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._url = None
        self._sessionid = None
        self.discriminator = None

        if url is not None:
            self.url = url
        if sessionid is not None:
            self.sessionid = sessionid
Ejemplo n.º 15
0
    def __init__(self,
                 date=None,
                 expiration=None,
                 local_vars_configuration=None):  # noqa: E501
        """InlineResponse2XX1Expirations - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._date = None
        self._expiration = None
        self.discriminator = None

        if date is not None:
            self.date = date
        if expiration is not None:
            self.expiration = expiration
Ejemplo n.º 16
0
    def __init__(self,
                 ask=None,
                 askdate=None,
                 askexch=None,
                 asksz=None,
                 bid=None,
                 biddate=None,
                 bidexch=None,
                 symbol=None,
                 type=None,
                 local_vars_configuration=None):  # noqa: E501
        """StreamingQuote - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._ask = None
        self._askdate = None
        self._askexch = None
        self._asksz = None
        self._bid = None
        self._biddate = None
        self._bidexch = None
        self._symbol = None
        self._type = None
        self.discriminator = None

        if ask is not None:
            self.ask = ask
        if askdate is not None:
            self.askdate = askdate
        if askexch is not None:
            self.askexch = askexch
        if asksz is not None:
            self.asksz = asksz
        if bid is not None:
            self.bid = bid
        if biddate is not None:
            self.biddate = biddate
        if bidexch is not None:
            self.bidexch = bidexch
        if symbol is not None:
            self.symbol = symbol
        if type is not None:
            self.type = type
Ejemplo n.º 17
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None,
                 pool_threads=1):
        if configuration is None:
            configuration = Configuration.get_default_copy()
        self.configuration = configuration
        self.pool_threads = pool_threads

        self.rest_client = rest.RESTClientObject(configuration)
        self.default_headers = {}
        if header_name is not None:
            self.default_headers[header_name] = header_value
        self.cookie = cookie
        # Set default User-Agent.
        self.user_agent = 'OpenAPI-Generator/1.0.0/python'
        self.client_side_validation = configuration.client_side_validation
Ejemplo n.º 18
0
    def __init__(self,
                 cvol=None,
                 date=None,
                 last=None,
                 price=None,
                 size=None,
                 exch=None,
                 symbol=None,
                 type=None,
                 local_vars_configuration=None):  # noqa: E501
        """StreamingTradex - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._cvol = None
        self._date = None
        self._last = None
        self._price = None
        self._size = None
        self._exch = None
        self._symbol = None
        self._type = None
        self.discriminator = None

        if cvol is not None:
            self.cvol = cvol
        if date is not None:
            self.date = date
        if last is not None:
            self.last = last
        if price is not None:
            self.price = price
        if size is not None:
            self.size = size
        if exch is not None:
            self.exch = exch
        if symbol is not None:
            self.symbol = symbol
        if type is not None:
            self.type = type
Ejemplo n.º 19
0
    def __init__(self, symbol=None, description=None, exch=None, last=None, change=None, volume=None, open=None, high=None, low=None, close=None, bid=None, ask=None, underlying=None, strike=None, change_percentage=None, average_volume=None, last_volume=None, trade_date=None, prevclose=None, week_52_high=None, week_52_low=None, bidsize=None, bidexch=None, bid_date=None, asksize=None, ask_date=None, open_interest=None, contract_size=None, expiration_date=None, expiration_type=None, option_type=None, root_symbol=None, greeks=None, local_vars_configuration=None):  # noqa: E501
        """Option - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._symbol = None
        self._description = None
        self._exch = None
        self._last = None
        self._change = None
        self._volume = None
        self._open = None
        self._high = None
        self._low = None
        self._close = None
        self._bid = None
        self._ask = None
        self._underlying = None
        self._strike = None
        self._change_percentage = None
        self._average_volume = None
        self._last_volume = None
        self._trade_date = None
        self._prevclose = None
        self._week_52_high = None
        self._week_52_low = None
        self._bidsize = None
        self._bidexch = None
        self._bid_date = None
        self._asksize = None
        self._ask_date = None
        self._open_interest = None
        self._contract_size = None
        self._expiration_date = None
        self._expiration_type = None
        self._option_type = None
        self._root_symbol = None
        self._greeks = None
        self.discriminator = None

        if symbol is not None:
            self.symbol = symbol
        if description is not None:
            self.description = description
        if exch is not None:
            self.exch = exch
        if last is not None:
            self.last = last
        if change is not None:
            self.change = change
        if volume is not None:
            self.volume = volume
        if open is not None:
            self.open = open
        if high is not None:
            self.high = high
        if low is not None:
            self.low = low
        if close is not None:
            self.close = close
        if bid is not None:
            self.bid = bid
        if ask is not None:
            self.ask = ask
        if underlying is not None:
            self.underlying = underlying
        if strike is not None:
            self.strike = strike
        if change_percentage is not None:
            self.change_percentage = change_percentage
        if average_volume is not None:
            self.average_volume = average_volume
        if last_volume is not None:
            self.last_volume = last_volume
        if trade_date is not None:
            self.trade_date = trade_date
        if prevclose is not None:
            self.prevclose = prevclose
        if week_52_high is not None:
            self.week_52_high = week_52_high
        if week_52_low is not None:
            self.week_52_low = week_52_low
        if bidsize is not None:
            self.bidsize = bidsize
        if bidexch is not None:
            self.bidexch = bidexch
        if bid_date is not None:
            self.bid_date = bid_date
        if asksize is not None:
            self.asksize = asksize
        if ask_date is not None:
            self.ask_date = ask_date
        if open_interest is not None:
            self.open_interest = open_interest
        if contract_size is not None:
            self.contract_size = contract_size
        if expiration_date is not None:
            self.expiration_date = expiration_date
        if expiration_type is not None:
            self.expiration_type = expiration_type
        if option_type is not None:
            self.option_type = option_type
        if root_symbol is not None:
            self.root_symbol = root_symbol
        if greeks is not None:
            self.greeks = greeks