Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/bitrinjani/r2
Browse files Browse the repository at this point in the history
  • Loading branch information
bitrinjani committed Nov 5, 2017
2 parents 3c9bba3 + 40dce7e commit 6d21047
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,18 @@ All configurations are stored in `config.json`.
|Exchange|Supported option|
|--------|----------------|
|Bitflyer|Cash|
|Quoine|Netout|
|Coincheck|Cash, MarginOpen|
|Quoine|NetOut|
|Coincheck|Cash, MarginOpen, NetOut|

Quoine's NetOut is handled by Exchange API. Quoine can close multiple positions by one order.
Coincheck's NetOut is handled by R2 because the exchange doesn't support netout operation. Coincheck's NetOut works as below.
1. The arbitrager finds leverage positions with the following conditions.
- The opposite side of the sending order
- Almost same amount as the sending order. 'Almost same' here means within 1% difference
2. If the positions are found, the arbitrager closes the oldest one.
3. If not found, the arbitrager opens a new position.

Please note this implementation doesn't close multiple positions by one order.

### Log files
All log files are saved under `logs` directory.
Expand Down

0 comments on commit 6d21047

Please sign in to comment.