2
Follow
0
Followers
¿Cómo seleccionar aleatoriamente largo o corto usando Python?
Created 2021-07-23 23:58:32 Updated 2021-07-24 00:10:58
2
1422
Gracias por enseñarnos.
¿Cómo seleccionar aleatoriamente largo o corto usando Python?
Por ejemplo, quiero elegir al azar un if para hacer un ciclo, como elegir al azar a Duo, entrar en el interior de if para hacerlo, y al final, elegir nuevamente a DUO o Kong.
Es en Python.
def main:
Caso de verdadero falso asignado a Duo o 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?
