Files

36 lines
462 B
Markdown
Raw Permalink Normal View History

2022-05-20 14:42:13 +08:00
2023-07-14 18:39:48 +08:00
> Name
2022-05-20 14:42:13 +08:00
2023-04-18 23:12:35 +08:00
画线机器人一年翻倍回撤1完美曲线
2022-05-20 14:42:13 +08:00
2023-07-14 18:39:48 +08:00
> Author
2022-05-20 14:42:13 +08:00
xy_thu
2023-07-14 18:39:48 +08:00
> Source (python)
2022-05-20 14:42:13 +08:00
``` python
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)
```
2023-07-14 18:39:48 +08:00
> Detail
2022-05-20 14:42:13 +08:00
https://www.fmz.com/strategy/349298
2023-07-14 18:39:48 +08:00
> Last Modified
2022-05-20 14:42:13 +08:00
2022-03-07 02:35:46