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

Informações do produto

$54.04
cart Adicionar ao carrinho Favoritos
Guia do usuário

Desenvolvedor

okaokaokaoka
Solicitar amostra de código Mensagem direta

Mar 21, 2019

Chat público

Detalhes do produto

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.

Árvore de arquivos

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

Informações de preço

Estatísticas de preço

Maior preço
$NA
Preço médio
$NA
Menor preço
$NA
Previsão de preço de IA
$NA

Insights

Avaliações e classificações
Apr 26, 2019
This is quite extensive and useful. Can be adapted. Definitely recommended.
ratingsratingsratingsratingsratings

Apenas visualização limitada


O produto real contém todos os arquivos e o código completo

Verificar dependências

Ver dependências externas do produto

Arquivo de amostra selecionado aleatoriamente

Estatísticas do arquivo do projeto

Hierarquia

Escolha um arquivo de amostra
X

Fique em contato

  • Obtenha dicas práticas para empresas e desenvolvedores.
  • Saiba mais sobre as necessidades da comunidade PieceX para projetos de código-fonte.
  • Seja o primeiro a conhecer os mais novos projetos de código gratuito da comunidade PieceX.
PieceX Logo