R2 Bitcoin Arbitrager is an automatic arbitrage trading system powered by Node.js + TypeScript.

製品情報

¥8,334
cart 買い物カゴに追加 favorites お気に入りに追加
ユーザーガイド

デベロッパー

avatar
okaokaokaoka
×

価格交渉

コードサンプルのリクエスト ダイレクトメッセージ

2019年03月21日

公開チャット

製品詳細

R2 Bitcoin Arbitrager is an automatic arbitrage trading application targeting Bitcoin exchanges.

(This project is licensed under the MIT License - see the LICENSE file for [details](https://github.com/bitrinjani/r2/blob/master/LICENSE))
How to Use:
1. Install Node.js 8.5 or newer.
2. Clone this repository.
```
git clone https://github.com/bitrinjani/r2.git
```
3. Run npm install. (or yarn)
```
cd r2
npm install
```

4. Rename config_default.json in the folder to config.json
5. Replace key and secret fields with your API keys (tokens) and secrets. Set enabled to false for exchanges you do not use.
6. To run R2 in Web UI mode, set webGateway.enabled to true. By default, R2 starts in Console mode.
7. Start the application by npm start or yarn start.
```
npm start
```

8. Open http://127.0.0.1:8720 in Chrome.
or
1. Install Docker
2. Clone this repository.
```
git clone https://github.com/bitrinjani/r2.git
```

3. Run docker build and docker run.
```
cd r2
docker build -t r2:latest .
docker run --rm -it r2:latest
```


Every 3 seconds, R2 downloads quotes from exchanges.
Filters out quotes that are not usable for arbitrage. For example, if maxShortPosition config is 0 and the current position is 0 for a broker, the ask quotes for the broker will be filtered out.
Calculates the best ask and the best bid from the filtered quotes and checks if the expected profit is larger than the configured minimum value, minTargetProfitPercent. If there is no arbitrage opportunity, R2 waits for the next iteration.
R2 concurrently sends a buy leg and a sell leg to each broker that offered the best price.
R2 checks whether the legs are filled or not for the configured period, say 30 seconds.
If the both legs are filled, shows the profit. If one of the legs are not fully filled, R2 tries to send a cover order in order to balance the position. The covering behavior is configurable in onSingleLeg config.
After the spread has became smaller than the configured value, exitNetProfitRatio, R2 tries to close the pair.

File Tree

  • 📁 R2 Bitcoin Arbitrager is an automatic arbitrage trading system powered by Node.js + TypeScript.

価格情報

価格の統計

最高価格
¥8,359
平均価格
¥8,270
最低価格
¥8,164
AI価格予測
¥5,389

インサイト

レビュー と評価
avatar
2019年04月26日
This is quite extensive and useful. Can be adapted. Definitely recommended.
ratingsratingsratingsratingsratings

限定プレビュー


実際の製品には、すべてのファイルと完全なコードが含まれています。

依存パッケージ

依存パッケージを表示する

ランダムサンプルファイル

プロジェクトファイルの統計

階層

サンプルファイルを選択してください
X
user-symbol

Stay in touch

ビジネスおよび開発者向けの実用的な最新情報をご希望ですか?

ソースコードプロジェクトに対するPieceXコミュニティのニーズについてご提供します。

PieceXの最新の無料コミュニティコードプロジェクトをいち早くお知らせします。