in

Trading profit / loss evaluation on Binance spot market


I have been in Binance Automated Trading for some time and have generated a lot of transaction records, so I want to see my historical profit and loss records (for each cryptocurrency). But Binance does not provide this information.

After searching for a period of time, various useful code sections were integrated, and then presented graphically with Poltly.

The usage is very simple, just follow the following operations to get the total profit and loss in historical.

python-binance

pip install python-binance

plotly

pip install plotly==4.14.3

jupyter-dash

from calcuation import profit_loss
from chart import RealizedProfitLoss
from binance.client import Client
import pandas as pd

key = 'Your API Key'
secret="Yout Secert Key"

client = Client(key, secret)

Pnl DashBoard

GitHub


Airbnb Streamlines the Development Process with a Unified Architecture for Collaborative Hosting

Dart wrapper for RandomX proof-of-work (PoW) algorithm