Type/to search

Python版追涨杀跌策略(教学)@币安USDT永续合约

Python
23
Follow
24
Followers

原版代码是现货版:
https://www.fmz.com/bbs-topic/4908

现在改为合约版。

———— 韬奋量化(微信:himandy)

好的交易平台可以让你的策略扶摇直上九万里,通过链接注册可获得两个月VIP5的手续费率优惠:
(现货:挂单0%,吃单0.07%。合约:挂单0%,吃单0.04%)
https://www.kucoin.cc/ucenter/signup?rcode=1wxJ2fQ&lang=zh_CN&utmsource=VIP_TF

Source
Python
'''backtest
start: 2021-05-01 00:00:00
end: 2021-05-29 00:00:00
period: 1m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
'''

# 原版代码是现货版:
# https://www.fmz.com/bbs-topic/4908

# 现在改为合约版。
Strategy parameters
Strategy parameters
杠杆倍数
止盈率
止损率
Comment
All comments (2)

    能写个多币种的吗?

    4 years ago

    不难

    4 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)