You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
同時程式訊息如下
Response Code: 0 | Event Code: 0 | Info: host '203.66.91.161:80', hostname '203.66.91.161:80' IP 203.66.91.161:80 (host 1 of 1) (host connection attempt 1 of 1) (total connection attempt 1 of 1) | Event: Session up
<SecurityType.Index: 'IND'> fetch done.
<SecurityType.Stock: 'STK'> fetch done.
<SecurityType.Future: 'FUT'> fetch done.
<SecurityType.Option: 'OPT'> fetch done.
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\indexes\base.py", line 3803, in get_loc
return self._engine.get_loc(casted_key)
File "pandas_libs\index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 165, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 5745, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 5753, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'code'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "ch7_GridBot.py", line 528, in
GridbotBody()
File "ch7_GridBot.py", line 344, in GridbotBody
bot1.getPositions()
File "ch7_GridBot.py", line 99, in getPositions
quantity=df_positions.loc[df_positions['code'] == self.upperid]['quantity']
File "C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\frame.py", line 3805, in getitem
indexer = self.columns.get_loc(key)
File "C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\indexes\base.py", line 3805, in get_loc
raise KeyError(key) from err
KeyError: 'code'
The text was updated successfully, but these errors were encountered:
在ch7網格機器人執行後log中會出現下列錯誤,請問我可能遺漏了申請哪些?或遺漏了簽署哪些文件?
2022/11/26 20:25:31.875 (PID=5856) ERROR | |--- 驗章失敗, 原因 = ok
2022/11/26 20:25:31.875 (PID=5856) ERROR 內部驗證失敗, 這個憑證鏈捨棄不使用, 無法用來驗憑證鏈
同時程式訊息如下
Response Code: 0 | Event Code: 0 | Info: host '203.66.91.161:80', hostname '203.66.91.161:80' IP 203.66.91.161:80 (host 1 of 1) (host connection attempt 1 of 1) (total connection attempt 1 of 1) | Event: Session up
<SecurityType.Index: 'IND'> fetch done.
<SecurityType.Stock: 'STK'> fetch done.
<SecurityType.Future: 'FUT'> fetch done.
<SecurityType.Option: 'OPT'> fetch done.
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\indexes\base.py", line 3803, in get_loc
return self._engine.get_loc(casted_key)
File "pandas_libs\index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 165, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 5745, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 5753, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'code'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "ch7_GridBot.py", line 528, in
GridbotBody()
File "ch7_GridBot.py", line 344, in GridbotBody
bot1.getPositions()
File "ch7_GridBot.py", line 99, in getPositions
quantity=df_positions.loc[df_positions['code'] == self.upperid]['quantity']
File "C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\frame.py", line 3805, in getitem
indexer = self.columns.get_loc(key)
File "C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\indexes\base.py", line 3805, in get_loc
raise KeyError(key) from err
KeyError: 'code'
The text was updated successfully, but these errors were encountered: