haha
This commit is contained in:
4
1111
4
1111
@@ -14,10 +14,6 @@ api交易
|
||||
yto0mg6r05kkyolwefqw
|
||||
db2e87093c120766bca60d2282y72760688
|
||||
|
||||
api交易
|
||||
yto0mg6r05kkyolwefqw
|
||||
db2e87093c120766bca60d2282y72760688
|
||||
|
||||
yx20250715@gmail.com
|
||||
Abc12345678
|
||||
|
||||
|
||||
@@ -320,7 +320,7 @@ class WeexFuturesTransaction:
|
||||
self.click_safe('x:(//button[normalize-space(text()) = "市价"])')
|
||||
# 此处可接具体策略循环:get_klines -> 信号 -> 开单/平仓
|
||||
# self.平仓()
|
||||
# self.开单(marketPriceLongOrder=1, size=100)
|
||||
self.开单(marketPriceLongOrder=1, size=100)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@@ -602,10 +602,11 @@ class WeexOneThirdTransaction:
|
||||
MessageSender.send(f"三分之一信号 {direction} 触发价={trigger_price:.2f} 金额={amount}")
|
||||
|
||||
def run(self) -> None:
|
||||
if not self.initialize():
|
||||
return
|
||||
|
||||
logger.info("WEEX 三分之一策略(5分钟K线)开始运行")
|
||||
while True:
|
||||
if not self.initialize():
|
||||
return
|
||||
try:
|
||||
if self.pbar:
|
||||
self.pbar.n = TimeUtils5m.get_progress_bar_value()
|
||||
|
||||
Reference in New Issue
Block a user