Skip to content

Commit c3612b7

Browse files
committed
fix typo
1 parent dcbba3e commit c3612b7

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

tigeropen/quote/quote_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ def get_depth_quote(self, symbols, market):
638638

639639
def get_option_expirations(self, symbols, market=None):
640640
"""
641-
返回美股期���的过期日
641+
返回美股期权的过期日
642642
:param symbols: 股票代码列表
643643
:return: pandas.DataFrame, 各 column 的含义如下:
644644
symbol: 证券代码

tigeropen/trade/request/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1441,7 +1441,7 @@ def to_openapi_dict(self):
14411441
params['stop_price'] = self.stop_price
14421442
return params
14431443

1444-
class DepositWithdrawHistoryParams(BaseParams):
1444+
class FundingHistoryParams(BaseParams):
14451445
def __init__(self):
14461446
super().__init__()
14471447
self._account = None

tigeropen/trade/trade_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from tigeropen.trade.domain.order import Order
2020
from tigeropen.trade.request.model import ContractParams, AccountsParams, AssetParams, PositionParams, OrdersParams, \
2121
OrderParams, PlaceModifyOrderParams, CancelOrderParams, TransactionsParams, AnalyticsAssetParams, SegmentFundParams, \
22-
ForexTradeOrderParams, EstimateTradableQuantityModel, DepositWithdrawHistoryParams
22+
ForexTradeOrderParams, EstimateTradableQuantityModel, FundingHistoryParams
2323
from tigeropen.trade.response.account_profile_response import ProfilesResponse
2424
from tigeropen.trade.response.analytics_asset_response import AnalyticsAssetResponse
2525
from tigeropen.trade.response.assets_response import AssetsResponse
@@ -901,7 +901,7 @@ def get_estimate_tradable_quantity(self, order, seg_type=None):
901901
return None
902902

903903
def get_funding_history(self, seg_type=None):
904-
params = DepositWithdrawHistoryParams()
904+
params = FundingHistoryParams()
905905
params.account = self._account
906906
params.secret_key = self._secret_key
907907
params.seg_type = get_enum_value(seg_type)

0 commit comments

Comments
 (0)