Skip to content

A simple python script that check your pnl in Binance Exchange

License

Notifications You must be signed in to change notification settings

abysswarrior/binance-pnl-checker

Repository files navigation

Binance PNL Checker ( DEPRECATED )

GPL3 python os

A simple python script that check your PNL from Binance Exchange account

Requirements

- python version 3.8 or upper

Usage

Step 1 : Clone the repository with the following command.

$ git clone https://github.com/b1ng-b0ng/binance-pnl-checker.git
$ cd ./binance-pnl-checker

Step 2 : Change .env.sample to .env and also edit environments value to your desire data.

$ mv .env.sample .env

Step 3 : then create a new virtualenv and run script.

$ virtualenv -p python3 venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ python spot_pnl_checker.py

Step 4 (optional) : you can add alias to .zshrc or .bashrc to use it as a linux command

# in the bottom of .zshrc or .bashrc
...
alias mypnl="cd ~/PATH/TO/binance-pnl-checker && source venv/bin/activate && python spot_pnl_checker.py && deactivate && cd -"

then :

$ mypnl

To-Do

The following to-do task list should be followed in order. If you are experienced enough in these tasks, feel free to contribute. Fork the project, create PRs and I'll review them.

  • use as a linux command (alias)
  • turn into a debian package
  • use as gnome-extension
  • add other markets support like future, margin & ...

About

A simple python script that check your pnl in Binance Exchange

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages