Practical overview
When it fits
Consider it when examining an existing Python integration or when its documented Binance endpoint coverage matches a specific task; for new work, account for the repository's notice that the project is no longer maintained and directs users to Binance_interface.
Who it is for
- Python developers integrating Binance market data or account and trading endpoints.
- Quantitative-trading developers working with Binance spot, futures or European options interfaces.
Documented uses
- Retrieve spot prices, best bid and ask quotes, depth, trades and candle data.
- Place, query and cancel documented spot orders.
- Build integrations against Binance USDT-margined or coin-margined futures interfaces.
- Use a consistent dictionary response structure across wrapped requests.
Requirements & limits
The README documents installation with `pip install pbinance`. It says market-data-only requests need no key or secret, while account and trading functions require both.
- The documented scope spans spot, USDT-margined futures, coin-margined futures and European options.
- The README presents returned data in a common dictionary structure with code, data and message fields.
- The repository states that Pbinance is no longer maintained and that its functionality has been integrated into Binance_interface.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Retrieve a spot market quote
Use the documented Python example to request the best bid and ask for a Binance spot symbol.
Before you start
- Python
- Install Pbinance with pip
- No API key or secret for market-data-only requests
Steps
Install the package with the command below.
pip install pbinanceImport
Binancefrompbinanceand create an instance.Call
binance.spot.market.get_ticker_bookTickerwith a symbol such asBTCUSDT.
Expected outcome
The example returns a dictionary containing the symbol and best bid and ask prices and quantities.
Guide limitations
- The repository says Pbinance is no longer maintained and points to Binance_interface as the integration destination.
Submit a spot limit order
Follow the documented example for submitting a Binance spot limit order.
Before you start
- Python
- Install Pbinance with pip
- A Binance API key and secret for account and trading functions
Steps
Install the package with the command below.
pip install pbinanceCreate a
Binanceinstance withkeyandsecretvalues.Call
binance.spot.accountTrade.set_orderwith the symbol, side, order type, price, quantity and time-in-force parameters.
Expected outcome
The README's example returns order details, including the order identifier, status, symbol, price and quantity.
Guide limitations
- The example describes a live order request; the repository says Pbinance is no longer maintained.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 18 October 2026
- Original website title
- pyted/pbinance · Official homepage title · retained in its source language
Related options
Binance_interface — Named in the Pbinance repository as the project where its functionality has been integrated.

