- Python 3
- Pip
-
Clone the repo
[email protected]:osmirbresciani/ftx-exchange.git
-
Install requirements
pip install -r requirements.txt
-
Rename
.env.example
to:.env
-
Enter your API_KEY and API_SECRET in
.env
API_KEY = " your API_KEY" API_SECRET = "your API_SECRET" SUBACCOUNT_NAME = "your SUBACCOUNT_NAME" [optional]
-
Set the markets that you wanna get the history of funding payments in
set_markets.py
markets = [ "STEP-PERP", "BTC-PERP", "ETH-PERP", ]
- In directory run:
python3 main.py
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.