Skip to main content

bitlanglang · BIT LangLang (BIT浪浪) Crypto Futures Intraday Strategy Toolkit

PyPI License: MIT

bitlanglang is the Python companion toolkit for BIT LangLang(BIT浪浪) — a cryptocurrency perpetual-futures intraday trading strategy platform with automated execution on OKX and Binance, plus a public archive of 4,807 real settled OKX futures trades.


Core Capabilities · 核心功能

  1. 22 Five-Minute Timing Features (compute_5m_features): Exact Python implementation of the 22 five-minute OHLCV features (m_r1..m_r288, m_dh12..m_dh2016, m_pos12..m_pos2016, m_vq1, m_vq3, m_madev, m_maslope, m_atr, m_rng, m_upfrac12, m_ema50dev) used by the open-source Go v4 engine.
  2. Daily Bull-Regime Filter (daily_bull_regime): Verifies that the latest closed daily candle is above its 20-day moving average and the 20-day MA is rising over a 20-day window (zero look-ahead bias).
  3. 4,807 Real OKX Futures Trades Analyzer (summarize_trades, download_settled_trades_csv): Downloads and analyzes BIT LangLang's 4,807 settled OKX perpetual futures trades (2022–2024, +5.52M USDT net realized PnL, 40.8% win rate, 2.28 profit factor) directly from bitlanglang.com/review.
  4. Live Public Track Record Client (fetch_public_summary): Queries frozen strategy signals and verifiable real exchange fills from bitlanglang.com/performance.

Installation · 安装

pip install bitlanglang

Quick Start · 快速使用

from bitlanglang import (
    FEATURE_NAMES,
    Bar,
    compute_5m_features,
    daily_bull_regime,
    fetch_public_summary,
    download_settled_trades_csv,
)

# 1. Inspect the 22 five-minute timing features
print("Features:", FEATURE_NAMES)

# 2. Fetch live strategy signal & execution statistics from bitlanglang.com
summary = fetch_public_summary()
print("Total signals:", summary.get("totalSignals"), "Live closed trades:", summary.get("liveClosed"))

# 3. Download the 4,807 real OKX settled trades dataset
rows = download_settled_trades_csv()
print(f"Loaded {len(rows)} real OKX perpetual futures trades")

CLI usage:

bitlanglang features
bitlanglang summary

Official Resources & Verifiable Data · 官方平台与公开数据

中文入口 (Chinese)


Disclaimer · 免责声明

For research and educational purposes only; not investment advice. Cryptocurrency perpetual futures carry high risk.

仅供研究与学习,不构成任何投资建议。加密货币合约交易风险极高。

Metadata

Release files for bitlanglang 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bitlanglang 0.1.0
File Size Uploaded Provenance Actions
bitlanglang-0.1.0.tar.gz 8.5 kB Without provenance Details for bitlanglang-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bitlanglang 0.1.0
File Interpreter ABI Platform Actions
bitlanglang-0.1.0-py3-none-any.whl Python 3 none any Details for bitlanglang-0.1.0-py3-none-any.whl

Total release size: 17.1 kB

Release files / bitlanglang-0.1.0.tar.gz

Download URL bitlanglang-0.1.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b3dfba16a51639367411cbb69c12613dc93c4d70945af7aed4982ff5cf0f8e0b
BLAKE2b-256 checksum
How to use checksums
06aa834bf0213c19a4316fdfde9b0f301e1bfad3a4ba55718b509fbe478afd7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / bitlanglang-0.1.0-py3-none-any.whl

Download URL bitlanglang-0.1.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1af684fe30ddf688f03d82d49ae2c688c67d0fe44cf7124c6e1918666f248ae
BLAKE2b-256 checksum
How to use checksums
dd7cc7bb39c5e7df445e23066579d4d8bc1ea4f25d827d0c7b339a2ef487fae0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for bitlanglang 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page