Home

Awesome

Build Status Coverage Status npm version

bitFlyer BTC-FX/JPY plugin for R2 Bitcoin Arbitrager

This is an optional broker plugin for R2. The plugin adds bitFlyer BTC-FX/JPY as a broker in R2.

Install

No installation is required as the npm package is already included in R2.

Add a broker config section and set your key/secret in config.json as below. The cashMarginType must be NetOut.

...
    {
      "broker": "BitflyerFX",
      "npmPath": "@bitr/bitflyer-fx",
      "enabled": true,
      "key": "xxxxxx",
      "secret": "xxxxxxx",
      "maxLongPosition": 0.02,
      "maxShortPosition": 0.02,
      "cashMarginType": "NetOut",
      "commissionPercent": 0
    },
...

⚠️Caution

⚠️注意