Loading ...

画线机器人—一年翻倍,回撤1%,完美曲线

Author: xy_thu, Date: 2022-03-07 02:13:52
Tags:


import random

def main():
    account = exchange.GetAccount()
    balance = account["Balance"]
    while True:
        LogProfit(balance - account["Balance"])
        balance = balance * (1 + (0.5 - random.random()) / 1000 + 1 / 100000)
        Sleep(1000 * 60)


More