资源加载中... 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)

template: strategy.tpl:40:21: executing "strategy.tpl" at <.api.GetStrategyListByName>: wrong number of args for GetStrategyListByName: want 7 got 6