Skip to content

Commit dd81f6a

Browse files
committed
add doc
1 parent 0a96f53 commit dd81f6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tigeropen/quote/quote_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ def get_future_contract(self, contract_code, lang=None):
851851
get future contract by contract_code
852852
:param contract_code: code of future contract, like VIX2206, CL2203
853853
:param lang:
854-
:return:
854+
:return: pandas.DataFrame
855855
"""
856856
params = FutureContractParams()
857857
params.contract_code = contract_code

tigeropen/trade/trade_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def get_derivative_contracts(self, symbol, sec_type, expiry, lang=None):
154154
:param sec_type: type of contract. tigeropen.common.consts.SecurityType. support: OPTION, WAR, IOPT
155155
:param expiry: expiry date string, like '20220929'
156156
:param lang:
157-
:return:
157+
:return: list of Contract
158158
"""
159159
params = ContractParams()
160160
params.symbols = symbol if isinstance(symbol, list) else [symbol]

0 commit comments

Comments
 (0)