36 lines
462 B
Markdown
36 lines
462 B
Markdown
|
|
> Name
|
|
|
|
画线机器人一年翻倍回撤1完美曲线
|
|
|
|
> Author
|
|
|
|
xy_thu
|
|
|
|
|
|
|
|
|
|
|
|
> Source (python)
|
|
|
|
``` 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)
|
|
|
|
```
|
|
|
|
> Detail
|
|
|
|
https://www.fmz.com/strategy/349298
|
|
|
|
> Last Modified
|
|
|
|
2022-03-07 02:35:46
|