init
This commit is contained in:
@@ -172,7 +172,7 @@ class HTS_etf(HTS):
|
|||||||
|
|
||||||
if bs_buy_price > 1000:
|
if bs_buy_price > 1000:
|
||||||
|
|
||||||
if not self.orderChecker.exist(today, "A" + self.stock_code, hours=9):
|
#if not self.orderChecker.exist(today, "A" + self.stock_code, hours=9):
|
||||||
buy_count = int(MAX_PRICE / bs_buy_price)
|
buy_count = int(MAX_PRICE / bs_buy_price)
|
||||||
|
|
||||||
if buy_count > 0:
|
if buy_count > 0:
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ class HTS_etf(HTS):
|
|||||||
|
|
||||||
if bs_buy_price > 1000:
|
if bs_buy_price > 1000:
|
||||||
|
|
||||||
if not self.orderChecker.exist(today, "A" + self.stock_code, hours=9):
|
#if not self.orderChecker.exist(today, "A" + self.stock_code, hours=9):
|
||||||
buy_count = int(MAX_PRICE / bs_buy_price)
|
buy_count = int(MAX_PRICE / bs_buy_price)
|
||||||
|
|
||||||
if buy_count > 0:
|
if buy_count > 0:
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ class HTS_etf(HTS):
|
|||||||
|
|
||||||
if bs_buy_price > 1000:
|
if bs_buy_price > 1000:
|
||||||
|
|
||||||
if not self.orderChecker.exist(today, "A" + self.stock_code, hours=9):
|
#if not self.orderChecker.exist(today, "A" + self.stock_code, hours=9):
|
||||||
buy_count = int(MAX_PRICE / bs_buy_price)
|
buy_count = int(MAX_PRICE / bs_buy_price)
|
||||||
|
|
||||||
if buy_count > 0:
|
if buy_count > 0:
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ class HTS_etf(HTS):
|
|||||||
|
|
||||||
if bs_buy_price > 1000:
|
if bs_buy_price > 1000:
|
||||||
|
|
||||||
if not self.orderChecker.exist(today, "A" + self.stock_code, hours=9):
|
#if not self.orderChecker.exist(today, "A" + self.stock_code, hours=9):
|
||||||
buy_count = int(MAX_PRICE / bs_buy_price)
|
buy_count = int(MAX_PRICE / bs_buy_price)
|
||||||
|
|
||||||
if buy_count > 0:
|
if buy_count > 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user