From 95e52fd8db1d2801110cc84f1e4bd42a546a4a5c Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 01 十二月 2023 17:23:53 +0800
Subject: [PATCH] 修改卖相关功能

---
 trade/trade_juejin.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/trade/trade_juejin.py b/trade/trade_juejin.py
index 143d50c..151788e 100644
--- a/trade/trade_juejin.py
+++ b/trade/trade_juejin.py
@@ -66,7 +66,7 @@
 def order_volume(code, price, count):
     if not constant.TRADE_ENABLE:
         return
-    if code.find("00") != 0 and code.find("60") != 0:
+    if not tool.is_shsz_code(code):
         raise Exception("鍙敮鎸�00寮�澶翠笌60寮�澶寸殑浠g爜涓嬪崟")
     code_str = code
     if code[0:2] == '00':

--
Gitblit v1.8.0