Skip to content

bitFlyer BTC-FX/JPY plugin for R2 Bitcoin Arbitrager

License

Notifications You must be signed in to change notification settings

Connie-Wild/bitflyer-fx

 
 

Repository files navigation

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

  • Do not enable both bitFlyer BTC/JPY (Bitflyer broker) and bitFlyer BTC-FX/JPY (BitflyerFX broker) at the same time in R2. Or you may encounter API usage limits from the exchange.
  • BTC-FX/JPY price is totally different from BTC/JPY price, and they are not correlated (for now). If you do not fully understand how the config parameters work such as minTargetProfitPercent, please do not use this plugin.

⚠️注意

  • 標準のBitflyerブローカーとこのBitflyerFXブローカーを同時に有効にしないでください。取引所のAPI使用回数制限に達する可能性があります。
  • 現在のところ、BTC-FX/JPY価格はBTC/JPY価格とまったく異なり、その価格変動は相関していません。minTargetProfitPercent等のパラメタータ設定が難しいため、その動作について十分に理解していない方はこのプラグインを使用しないでください。

About

bitFlyer BTC-FX/JPY plugin for R2 Bitcoin Arbitrager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%