Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aoki-h-jp committed Mar 15, 2023
1 parent e78acf6 commit 3974707
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,29 @@ This library can detect perpetual contract with a large divergence in funding ra

**NOTE: This library does not include the feature to perform automatic funding rate arbitrage.**

[//]: # (## Installation)
## Installation

[//]: # ()
[//]: # (```bash)

[//]: # (pip install funding-rate-arbitrage)
```bash

[//]: # (```)
git clone https://github.com/aoki-h-jp/funding-rate-arbitrage.git
pip install funding-rate-arbitrage

```

## Usage
```python
from frarb import FundingRateArbitrage

fr = FundingRateArbitrage()

# fetch all perp funding rate on binance
fr_binance = fr.fetch_all_funding_rate(exchange='binance')

# get commission on binance with futures, maker
cm_binance = fr.get_commission(exchange='binance', trade='futures', taker=False)
```

[//]: # (## Example)

## Disclaimer
This project is for educational purposes only. You should not construe any such information or other material as legal,
Expand Down

0 comments on commit 3974707

Please sign in to comment.