Type/to search

有人爆仓时开反向单

Cryptocurrency
Created: 2021-10-17 03:56:58
Last modified: 5 years ago
1
Follow
47
Followers

某人找我代写的策略,写完不要了,也不给钱
我直接白写,祝他买棺材有优惠券
策略不支持回测。
此策略只支持币本位,选定币种后检测对应币种的爆仓订单,如果有空单爆了就开多,有多单爆了就开空。没有平仓逻辑。

Source
JavaScript
/*backtest
start: 2021-05-07 00:00:00
end: 2021-08-04 00:00:00
period: 15m
basePeriod: 5m
exchanges: [{"eid":"Futures_Binance","currency":"LTC_USDT","balance":200},{"eid":"Futures_Binance","currency":"BTC_USDT","balance":500},{"eid":"Futures_Binance","currency":"ETH_USDT","balance":200},{"eid":"Futures_Binance","currency":"EOS_USDT","balance":500},{"eid":"Futures_Binance","currency":"BCH_USDT","balance":500}]
args: [["stopProfitRate",100],["cancelOrderTime",15]]
*/

class MyExchange{
    constructor(tExchange,tIndex,tQtyValue){
        this.exchange=tExchange;       
Strategy parameters
Strategy parameters
挂单距离(百分比,为0则为市价单)
撤单时间(挂单多久未成交后被撤销,单位:分)
检测周期(秒)
杠杆倍数
(测试用)买入时机
(测试用)卖出时机
合约类型
下单方式
下单量(对应张数下单方式或者百分比下单方式)
合约张数序列,一张合约对应多少币数
使用币本位API
Comment
All comments (6)

    哪里有爆仓数据可以查看?

    5 years ago

    前期没定金吗?

    5 years ago

    5 years ago

    一看到this。。。。。。。就知道是大神级了。。。。。[拜服]

    5 years ago

    。。。

    5 years ago

    我怀疑是同一个人,还好我没接,(DOGE)

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