The resource loading... loading...

Supports BitMEX perpetual contract review and supports the functionality of analogue charging rates.

Author: Zero, Created: 2018-10-26 00:00:50, Updated: 2018-11-15 17:28:32

JS/C++/Python sync is supported

  • Added a simulation of the timely charge rate
  • The risk reduction mechanism has not been implemented
  • Support only XBTUSD for permanent contracts
  • The host supports the full-cycle K-line for BitMEX's newly added K-line synthesis mechanism, the latest version can be downloaded
exchange.SetContractType("XBTUSD");

For retesting, that's enough, and a clean cache refresh browser is available.

Open a log of recording events that can output periodic rate deductions, fully restored true

img

Simulated capital charge rates (reversed from historical rates)

img

  • Please note:

    function main(){
        exchange.SetContractType("XBTUSD")
        var ticker = exchange.GetTicker()
        exchange.SetDirection("buy")
        var id = exchange.Buy(ticker.Sell + 10, 5)
        Log(exchange.GetPosition())
    }
    
    # 获取持仓,打印持仓信息,显示 有一个 Margin 属性,这个属性在API 文档中没有记录,这个是回测系统独有的。
    # 这个Margin属性指的是 仓位占用的保证金 币数。
    

    img


More

397543420@qq.comIf it's not hard, add in the user experience issues.

xuxiaocoolCan you support the reassessment of the Okex futures EOS_USD?

The bride too.Bitmex is always overloaded, basically the market is coming, it can't be ordered, retested, it's just retested.

A small trainCan you support the reassessment of the Okex futures EOS_USD?

Don't eat spinachI've been waiting a long time for this.

B.F.It saved me a lot of work, FMZ is arrogant!

CryptoSharkDoesn't support the one-hour scale?

ZeroIt's already supported, so you can refresh the cache.