Skip to content

Commit 3301de8

Browse files
committed
modify depth quote class name
1 parent 0b63ab8 commit 3301de8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tigeropen/quote/quote_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
from tigeropen.quote.request import OpenApiRequest
3636
from tigeropen.quote.request.model import MarketParams, MultipleQuoteParams, MultipleContractParams, \
3737
FutureQuoteParams, FutureExchangeParams, FutureTypeParams, FutureTradingTimeParams, SingleContractParams, \
38-
SingleOptionQuoteParams, QuoteDepthParams
38+
SingleOptionQuoteParams, DepthQuoteParams
3939
from tigeropen.quote.response.future_briefs_response import FutureBriefsResponse
4040
from tigeropen.quote.response.future_contract_response import FutureContractResponse
4141
from tigeropen.quote.response.future_exchange_response import FutureExchangeResponse
@@ -471,7 +471,7 @@ def get_depth_quote(self, symbols, market):
471471
[(bid_price1, bid_volume2, order_count), (bid_price2, bid_volume2, order_count), ...]
472472
473473
"""
474-
params = QuoteDepthParams()
474+
params = DepthQuoteParams()
475475
params.symbols = symbols if isinstance(symbols, list) else [symbols]
476476
params.market = market.value
477477

tigeropen/quote/request/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ def to_openapi_dict(self):
674674
return params
675675

676676

677-
class QuoteDepthParams(object):
677+
class DepthQuoteParams(object):
678678
def __init__(self):
679679
self._symbols = None
680680
self._market = None

0 commit comments

Comments
 (0)