Skip to content
VaquumPublic

About

A Binance API-wrapper that brings all klines and trades data end-points to single-line commands.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation


Vaquum

Binancial

Description • Owner • Integrations • Docs


Description

A Binance API wrapper that brings all klines and trades data endpoints to single-line commands. Builds custom klines from raw trades with 19-column output including OHLC, statistical measures, volume, maker metrics, and liquidity metrics.

What Binancial Is

  • A thin, reliable wrapper around the Binance REST API
  • A compute layer that aggregates raw trades into custom klines
  • A package that handles pagination, rate limits, and data formatting

What Binancial Is Not

  • Not a trading bot or strategy executor
  • Not a real-time streaming framework (though it wraps the streaming endpoints)
  • Not a database or data warehouse

Features

  • Fetch historical klines data with simple commands
  • Retrieve any number of historical trades with datetime filtering and pagination
  • Build 19-column custom klines from raw trades (replicates ClickHouse-style aggregation)
  • Parallel fetching with rate-limit retry for reliable bulk data retrieval
  • Clean data formatting with consistent column names and proper data types

Quick Start

from binancial.utils import init_binance_api
from binancial.compute import get_spot_klines

client = init_binance_api('historical', api_key='', api_secret='')

# Build 1-second klines from the last hour of trades
df = get_spot_klines(client, symbol='BTCUSDT', kline_size=1,
                     start_date='2025-01-01 00:00:00',
                     end_date='2025-01-01 01:00:00')

Owner

Docs

About

A Binance API-wrapper that brings all klines and trades data end-points to single-line commands.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages