2
Follow
0
Followers
Comment sélectionner aléatoirement long ou court en utilisant Python ?
Created 2021-07-23 23:58:32 Updated 2021-07-24 00:10:58
2
1422
Merci de nous aider.
Comment sélectionner aléatoirement long ou court en utilisant Python ?
Je veux choisir un if au hasard pour faire le cycle, par exemple choisir un duo au hasard, puis entrer dans un if, et ensuite choisir DUO ou Kong à nouveau.
C'est en python
def main:
True false attribué au hasard à Duo ou 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?
