You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
175 KiB

<EFBFBD><EFBFBD>TGW Logon information: :
logon json : {"Id":0,"SubscribeLimitNum":0,"PushBandwidth":2048,"QueryBandwidth":2048,"TotalWeekFlow":1000000000,"UsedWeekFlow":10.38,"Token":"b4c8b324-8a20-4341-80d8-72cc1a32ebd3","PermissionCode":"2|3|4|6|7|11|12|13|29|30|31|32|33|16|17|18|19|20|21|22|23|24|25|26|27|28","FunctionIdPermission":["A010010001","A010010002","A010010003","A010010004","A010010005","A010010006","A010010007","A010010007_NEW","A010010008","A010010008_NEW","A010010009","A010010009_NEW","A010010010","A010010011","A010020001","A010020002","A010030001","A010030002","A010030003","A010030004","A010040001","A010040002","A010040003","A010040004","A010040005","A010050001","A010050001_CDR","A010050002","A010050002_CDR","A010050003","A010050003_CDR","A010050004","A010050005","A010050006","A010050007","A010050008","A010050009","A010060001","A010060002","A010060003","A010060004","A010060005","A010060006","A010060007","A010061001","A010061002","A010061003","A010070001","A010070002","A010070002_inner","A010080001","A010080002","A010090001","A010090002","A010090003","A010090004","A010200001","A010200002","A010200003","A010200004","A010200005","A010200006","A010200007","A010200008","A010210001","A010300001","A010300002","A010300003","A010300004","A010300005","A010300006","A010300007","A010400001","A010400002","A010400003","A010400004","A010400005","A010400006","A010400007","A010400008","A010400009","A010400010","A010400011","A010400012","A010500001","A010500002","A010500003","ForceLogout","P010010001","queryLastFuncDataTime","queryTableMaxNumAndTime","queryTaskInfoTime","test","wubin_A010060002"],"FactorPermission":{"testTyp":{"testSubTyp":["testName"]},"OnlineSignal":{"Default":["TradingSignal"]},"newTypPub":{"newSubTypPub":["newNamePub"]},"ChinaStockApp":{"SecuritySelection":["trend","base","tech_indicator","institution_hold","fund","top"],"DiagnosisDetail":["top","anno","portrait_market_ind","fin_net_profit","sec_rate","score","popularity","portrait_market_self","fin_roe","margintrade","fin_eps","main_cap","fin_revenues","capital_flow","fin_asset","
Calendar type: <class 'list'>
.\venv\Scripts\python.exe : Traceback (most recent call last):
@b(WMOn L<>:1 W[&{: 51
+ ... ta_service; .\venv\Scripts\python.exe test_sdk.py > test_sdk_output.t ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Traceback (most recent call last)::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
File "D:\alpha_workspace\python_market_data_service\test_sdk.py", line 36, in <module>
result = market_data.query_kline(
^^^^^^^^^^^^^^^^^^^^^^^^
File "./AmazingData/query_api\market_data.py", line 170, in query_kline
TypeError: 'NoneType' object cannot be interpreted as an integer
Calendar: [19901219, 19901220, 19901221, 19901224, 19901225, 19901226, 19901227, 19901228, 19901231, 19910102, 19910103, 19910104, 19910107, 19910108, 19910109, 19910110, 19910111, 19910114, 19910115, 19910116, 19910117, 19910118, 19910121, 19910122, 19910123, 19910124, 19910125, 19910128, 19910129, 19910130, 19910131, 19910201, 19910204, 19910205, 19910206, 19910207, 19910208, 19910211, 19910212, 19910213, 19910214, 19910219, 19910220, 19910221, 19910222, 19910225, 19910226, 19910227, 19910228, 19910301, 19910304, 19910305, 19910306, 19910307, 19910308, 19910311, 19910312, 19910313, 19910314, 19910315, 19910318, 19910319, 19910320, 19910321, 19910322, 19910325, 19910326, 19910327, 19910328, 19910329, 19910401, 19910402, 19910403, 19910404, 19910405, 19910408, 19910409, 19910410, 19910411, 19910412, 19910415, 19910416, 19910417, 19910418, 19910419, 19910422, 19910423, 19910424, 19910425, 19910426, 19910429, 19910430, 19910502, 19910503, 19910506, 19910507, 19910508, 19910509, 19910510, 19910513, 19910514, 19910515, 19910516, 19910517, 19910520, 19910521, 19910522, 19910523, 19910524, 19910527, 19910528, 19910529, 19910530, 19910531, 19910603, 19910604, 19910605, 19910606, 19910607, 19910610, 19910611, 19910612, 19910613, 19910614, 19910617, 19910618, 19910619, 19910620, 19910621, 19910624, 19910625, 19910626, 19910627, 19910628, 19910701, 19910702, 19910703, 19910704, 19910705, 19910708, 19910709, 19910710, 19910711, 19910712, 19910715, 19910716, 19910717, 19910718, 19910719, 19910722, 19910723, 19910724, 19910725, 19910726, 19910729, 19910730, 19910731, 19910801, 19910802, 19910805, 19910806, 19910807, 19910808, 19910809, 19910812, 19910813, 19910814, 19910815, 19910816, 19910819, 19910820, 19910821, 19910822, 19910823, 19910826, 19910827, 19910828, 19910829, 19910830, 19910902, 19910903, 19910904, 19910905, 19910906, 19910909, 19910910, 19910911, 19910912, 19910913, 19910916, 19910917, 19910918, 19910919, 19910920, 19910923, 19910924, 19910925, 19910926, 19910927, 19910930, 19911003, 19911004, 19911007, 199110
MarketData: <AmazingData.query_api.market_data.MarketData object at 0x0000022AD617F850>
query_kline signature: (code_list, begin_date=20240101, end_date=20991231, period=10000, **kwargs)
Testing query_kline...
Error: 'NoneType' object cannot be interpreted as an integer