2
Follow
0
Followers
谢谢大家,求指教
如何用python随机选多或空?
如下,我想随机选一个if进行循环,比如随机选到Duo,就进入到if里面进行,结束后,重新再次选出DUO或者Kong
用的是python
def main:
随机true false 赋值给 Duo 或者 Kong
while True:
if Duo:
......
if Kong:
......
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?
