-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from aoki-h-jp/feature/1.2.1/fixsetup
Feature/1.2.1/fixsetup
- Loading branch information
Showing
11 changed files
with
54 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
""" | ||
An example of fetching funding rate history | ||
""" | ||
from frarb import FundingRateArbitrage | ||
from funding_rate_arbitrage.frarb import FundingRateArbitrage | ||
|
||
|
||
if __name__ == '__main__': | ||
# fetch from binance | ||
fr = FundingRateArbitrage() | ||
# figure funding rate history | ||
fr.fetch_funding_rate_history(exchange='binance', symbol='BTC/USDT:USDT') | ||
fr.figure_funding_rate_history(exchange='binance', symbol='BTC/USDT:USDT') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
""" | ||
Funding Rate Arbitrage: A trading strategy that takes advantage of the difference in funding rates between perpetual swaps. | ||
""" | ||
import funding_rate_arbitrage.frarb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,11 @@ | |
|
||
setup( | ||
name='funding-rate-arbitrage', | ||
version="1.0.0", | ||
version="1.2.1", | ||
description='A framework to help you easily perform funding rate arbitrage on major centralized cryptocurrency ' | ||
'exchanges.', | ||
install_requires=['ccxt', 'pandas'], | ||
install_requires=['ccxt', 'pandas', 'rich', 'matplotlib'], | ||
packages=['funding_rate_arbitrage'], | ||
author='aoki-h-jp', | ||
author_email='[email protected]', | ||
license='MIT' | ||
|