OpenViSTAI · Agents · Blockchain · Crypto
Menu
Exchanges & Trading

Pbinance

Pbinance is a Python SDK that wraps Binance REST API functions for spot markets, USDT- and coin-margined futures, and European options.

Independent OpenViST project profile, based on linked sources.

Pbinance — OpenViST project profile in Exchanges & Trading.
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Install the package with the command below.

    Documented command
    pip install pbinance
  2. Import Binance from pbinance and create an instance.

  3. Call binance.spot.market.get_ticker_bookTicker with a symbol such as BTCUSDT.

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.
Source-based practical guide

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

  1. Install the package with the command below.

    Documented command
    pip install pbinance
  2. Create a Binance instance with key and secret values.

  3. Call binance.spot.accountTrade.set_order with 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.
Evidence and transparency

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.