Skip to main content

SDK for Bjarkan cryptocurrency trading system

Project description

Bjarkan SDK

A powerful cryptocurrency trading SDK with smart order routing capabilities.

Features

  • Real-time market data aggregation from multiple exchanges
  • Fee-aware orderbook processing
  • VWAP calculations
  • Smart order routing and execution
  • Trade monitoring and filtering

Installation

pip install bjarkan-sdk

Quick Start

import asyncio
from bjarkan import BjarkanSDK, OrderbookConfig

async def main():
    # Initialize SDK
    sdk = BjarkanSDK()
    
    # Configure orderbook data
    config = OrderbookConfig(
        aggregated=True,
        exchanges=["binance", "okx"],
        symbols=["BTC/USDT"],
        depth=10
    )
    
    # Setup and start
    await sdk.setup_orderbook(config)
    await sdk.start_orderbook()
    
    # Get real-time orderbook data
    orderbook = await sdk.get_latest_orderbook()
    print(orderbook)
    
    # Cleanup
    await sdk.close()

if __name__ == "__main__":
    asyncio.run(main())

Documentation

For complete documentation, examples, and API reference, visit our documentation.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bjarkan_sdk-3.0.2.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

bjarkan_sdk-3.0.2-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file bjarkan_sdk-3.0.2.tar.gz.

File metadata

  • Download URL: bjarkan_sdk-3.0.2.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for bjarkan_sdk-3.0.2.tar.gz
Algorithm Hash digest
SHA256 c212ea9a237aca52fa65f712f446f5b2bb6f93b31f34023683171b65c0b31cb1
MD5 d34538fe10ae7a79c16cee40bbb01672
BLAKE2b-256 63b0acc4908252bc02f8fe1e707fa49ddbf38df7ae33fcec3bc7a9d25dce7926

See more details on using hashes here.

File details

Details for the file bjarkan_sdk-3.0.2-py3-none-any.whl.

File metadata

  • Download URL: bjarkan_sdk-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for bjarkan_sdk-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cef424e4d24588447406b6f2328c30ce3830b48ae2626ecb942cc79898898f1b
MD5 4418a2cc6a6833c416676a48322e222e
BLAKE2b-256 0a3c7cd5850afff8dd09e78d8a4eb01f7ab072ceb79aa5b7fd5bd3a717691845

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page