我用的是vnpy_tap这个接口,现在连接后报错:
Time[2025-07-30 15:50:31.227] SerialNo[000003] Step[User Request St] Function[Login] SessionID[0] RetCode[0] Content:Struct(TapAPITradeLoginAuth Start){[UserNo:xxxx][ISModifyPassword:'N']}Struct(TapAPITradeLoginAuth End)
Time[2025-07-30 15:50:31.472] SerialNo[000003] Step[User Request End] Function[Login] SessionID[0] RetCode[0] Content:Struct(TapAPITradeLoginAuth Start){[UserNo:xxxx][ISModifyPassword:'N']}Struct(TapAPITradeLoginAuth End)
Time[2025-07-30 15:50:31.474] SerialNo[000001] Step[API Base Notify] Function[OnConnect] Content:{OnConnect}
Time[2025-07-30 15:50:31.474] SerialNo[000001] Step[User Notify Start] Function[OnConnect] Content:{OnConnect}
Time[2025-07-30 15:50:31.474] SerialNo[000001] Step[User Notify End] Function[OnConnect] Content:{OnConnect}
Time[2025-07-30 15:50:32.274] SerialNo[000002] Step[API Base Notify] Function[OnRspLogin] SessionID[0] ErrorCode[10003] isLast[A] Content:Ptr is NULL
Time[2025-07-30 15:50:32.274] SerialNo[000002] Step[User Notify Start] Function[OnRspLogin] SessionID[0] ErrorCode[10003] isLast[A] Content:Ptr is NULL
Time[2025-07-30 15:50:32.274] SerialNo[000002] Step[User Notify End] Function[OnRspLogin] SessionID[0] ErrorCode[10003] isLast[A] Content:Ptr is NULL
好像是需要二次验证,现在vnpy_tap提供这个接口吗?
感谢帮助!