2
Follow
0
Followers
ありがとうございました.
私は"空っぽの循環"という戦略を立てました.
"Kong"を"True"に"Duo"を"False"に変えると,
しかし if Duoは正常です.
ifKongは1回しか実行されないので, 循環は1回しか実行されない.
ifKongは1回しか実行されないので, 循環は1回しか実行されない.
ifKongは1回しか実行されないので, 循環は1回しか実行されない.
具体的には以下のようなコードです.
def main:
ランダムな true false を Duo または Kong に代入する
while True:
if Duo:
条件未满足,开始多次循环 ......
满足条件后,结束循环 if Duo,重新分配,Duo = false Kong = True
if Kong:
条件未满足,开始多次循环......
满足条件后,结束循环 if Kong,重新分配,Duo = True Kong = false
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?
Comment
All comments (1)
- 1
