Skip to content

johnzammit/StatsArb

Repository files navigation

Dependencies:

  • pip install python-binance
  • pip install python-dotenv

Related API documentation:

To get historical price data from Binance in the crypto_pairs_scratch.ipynb file:

  • Make an account on binance.us
  • Once your account is set up, follow these steps to create your api keys
    • In particular, make sure that you've enabled 2FA, you've made a deposit in your account, and that your account is verified
  • After you have your api keys, make a file called .env at the same level as crypto_pairs_scratch.ipynb
  • Your .env file should have 2 lines:
    • binanceAPIKey=YourAPIKeyThatYouCopiedFromBinance
    • binanceSecretKey=YourSecretKeyThatYouCopiedFromBinance
  • Make sure to add the .env file to your gitignore
  • You should now be able to run the code in crypto_pairs_scratch.ipynb (make sure that you have pip installed python-binance and python-dotenv)

Testing your algorithm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •