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

제품 정보

$54.04
cart 장바구니에 담기 즐겨찾기
사용 설명서 문서

개발자

okaokaokaoka
코드 샘플 요청 다이렉트 메세지

Mar 21, 2019

공개 채팅

제품 세부 정보

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. R2 Bitcoin Arbitrager is an automatic arbitrage trading system powered by Node.js TypeScript. Clone this repository.
git clone https://github.com/bitrinjani/r2.git

3. Run npm install.

File Tree

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

가격 정보

가격 통계

최고 가격
$NA
평균 가격
$NA
최저 가격
$NA
AI 가격 예측
$NA

인사이트

리뷰 및 등급
Apr 26, 2019
This is quite extensive and useful. Can be adapted. Definitely recommended.
ratingsratingsratingsratingsratings

제한된 미리 보기


실제 제품에는 모든 파일과 전체 코드가 포함되어 있습니다.

종속성 확인

제품 외부 종속성 보기

무작위로 선택한 샘플 파일

프로젝트 파일 통계

계층구조

샘플 파일 선택
X

문의하기

  • 비즈니스 개발자를 위한 최신 정보를 원하십니까? 소스 코드 프로젝트에 대한 PieceX 커뮤니티의 요구사항을 알아보세요. PieceX의 최신 무료 커뮤니티 코드를 빠르게 알려드립니다.
PieceX Logo