All plugins

bybit

Official

Bybit v5 integration for PyneCore

  • Broker
  • Live data
  • Data provider
pip install pynesys-pynecore-bybit
Package
pynesys-pynecore-bybit
Version
0.9.1
Requires PyneCore
>=6.6.0
Requires Python
>=3.11
Author
PYNESYS LLC
Downloads (30d)
177
Last release
Jul 24, 2026

About

Bybit v5 plugin for PyneCore.

Provides historical OHLCV download, SymInfo and live WebSocket market-data streaming for Bybit spot, linear and inverse instruments, plus live spot and linear order execution over the same key pair. Spot pairs use the plain symbol (BTCUSDT), perpetuals the .P suffix (BTCUSDT.P), dated futures their native Bybit name.

Spot execution integrates the core spot-inventory layer: the plugin exposes a SpotInventoryPort over /v5/execution/list + /v5/account/wallet-balance and the core SpotInventoryManager owns the fill ledger, the balance invariant and the position synthesis. Derivative execution reads the venue's native position object (/v5/position/list + the private position topic); a one-way account runs the netting-native path, a hedge account opts into the core one-way emulation through the plugin's PositionPort on linear (inverse requires one-way mode). Inverse quantities are Pine-base-denominated and map onto whole-USD contracts at dispatch. Order idempotency is exchange-native via orderLinkId.

Broker capabilities

What the plugin's broker side delivers, as the plugin itself declares it.

  • Stop orders Native
  • TP/SL bracket Emulated
  • Partial bracket exit Emulated
  • Partial bracket exit (pyramiding) Emulated
  • OCA cancel Emulated
  • Amend order Partial
  • Cancel all Native
  • Reduce-only varies Native
  • Order stream Native
  • Fetch position varies Native
  • Idempotency Native
  • Short selling varies Native

Entry points

The names PyneCore registers this package under — this is what you type in the CLI.

  • bybitpynecore_bybit:Bybit