Skip to main content

trade-learn logo

官方文档 | 更新日志 | English | 日本語

Python 写策略与投研流程,Rust 扛事件驱动回测内核。

PyPI version Python versions License Source version Discord

trade-learn 旨在解决量化投研中「研究(Learn)」与「回测(Trade)」长期脱节的问题。它采用「Python 表达策略逻辑 + Rust 原生回测内核」的混合架构,按已登记的 Backtrader 语义逐项对照,在下文固定多资产回测样本中取得 110x+ 的性能提升,将大规模策略验证从小时级压缩至秒级,为指数增强与机器学习策略提供真正可迭代的研究效率。

在高性能之外,trade-learn 同时提供一套完整的投研基础设施。框架内置 JupyterLab 与 MLflow,将因子挖掘、策略验证与实验审计无缝串联,构建出一条可复现、可追踪、可审计的投研流水线,使研究过程从“结果导向”升级为可系统化管理的工程流程,让研究员专注于策略逻辑本身。

trade-learn research flow

在方法论层面,项目同样强调研究的科学性。针对机器学习策略中常见的“伪相关”问题,trade-learn 将 因果推断(Causal Inference) 深度融入投研流程,通过识别真实的因果驱动路径,降低样本外衰减风险,帮助构建兼具解释性与稳健性的量化策略体系。

实现路径

待实现的接口统一目标(2026-11-11):Engine与Lite将收敛为同一策略语义的完整/轻量入口,保留sklearn风格投研流水线,完善DuckDB研究查询、运行产物、评价/报告与日志;research/lab拟合并,AI研究环境拟验证后采用Jupyter AI Lite与Skills。以下现行安装组、API和示例仍描述各自实际状态,不能据目标假定同策略双入口或新window/Dataset已经可用。见API状态说明。

trade-learn 拒绝功能的简单堆砌,而是通过独特的“双模双核”设计,在专业深度与研发效率之间构建了平衡。底层通过 Engine 深度对齐 Backtrader 语义以夯实逻辑正确性,上层则由 Lite 提供极简的 Pythonic 接口,确保了“快”与“准”的统一。

您可以根据研发阶段,自由定义策略的深度:

  • Engine 模式 (深度研发):深度对齐 Backtrader 语义,支持 Analyzer/Sizer/Signal 完整生态,适合逐项研究订单、指标与分析器行为的复杂回测策略。
  • Lite 模式 (敏捷验证):沿袭 backtesting.py 的极简主义,支持模型权重直连,极其适合在因子挖掘阶段进行高频迭代与原型验证。

在生态层面,trade-learn 提供完善的指标支持。框架兼容 TA-Lib、TDX、TradingView/PyneCore 等主流指标库,并支持灵活扩展自定义指标与数据源,满足不同研究场景的需求。

核心亮点

⚡️ 高能内核:Rust 驱动的极致性能

  • Rust 混合动力:撮合引擎与核心计算由 Rust 承载,提供单标的 28x、多资产调仓 110x+ 的 Backtrader 级加速。
  • 自动 Runner 调度:根据数据形态自动选择“单流逐 Bar”或“Panel 批量”推进。针对指数增强场景优化了内存布局,开发者只需关注 next() 逻辑。

🛡️ 严谨金融:回测语义逐项对照

  • Engine 级对齐:完整支持 Analyzer / Sizer / Signal 体系,确保回测 Trades 与 Backtrader Oracle 逻辑零差异,高度支持自拓展组件。
  • Lite 极简表达:在同一 Runtime 上构建的轻量语法。内置 target_weights 接口,将机器学习模型输出的权重一键转化为回测决策。

🧪 因果投研:跨越相关性的科学流程

  • Causal-First 特征筛选:内置 PC / FCI 等因果发现算法,识别因子的真实驱动路径,从源头对抗回测中的“伪相关”与过拟合。
  • Pipeline 全链路流水线:将特征工程、因果筛选、评分模型、组合权重与回测报告无缝耦合,形成可复现的实验闭环。

📦 模块化平台:轻量核心,按需扩展

  • 核心解耦:默认安装包含 Engine、Lite 与基础数据处理;报告、因子、Parquet、机器学习和指标后端按需安装。
  • 弹性扩展:通过 [research] 扩展,可一键激活 JupyterLab + MLflow + AI 助手 组成的集成投研环境,实现“按需加载、随处运行”。

🌍 全球视野:多口径指标与现代生态

  • 双市场口径:显式支持 TDX (国内) 和 TradingView (国外) 指标口径,同时接入 TA-Lib 持续状态句柄。
  • 现代投研工具:开箱即用的 HTML 交互式报告、MLflow 实验追踪以及 JupyterLab / AI Lite / Skills 研究环境。

因果投研:跨越“伪相关”陷阱

大多数量化研究止步于统计相关性 (Correlation),这极易导致因子在回测中表现优异、实盘中却迅速失效(过拟合)。trade-learn 通过内置的 因果发现 (Causal Discovery) 机制,帮助您识别收益背后的真实动因:

  • 因果特征筛选:通过 CausalSelector 结合 PC / FCI 算法,剥离由于“共同观测”产生的伪相关因子,仅保留对收益具有直接驱动能力的特征。
  • 抵抗样本外衰减:基于因果图定位的 Alpha 因子在市场风格切换时具备更强的生存力,有效降低从研究到实盘的性能落差。
  • 工业级无缝集成:深度整合 causal-learn 生态,让前沿的因果推断技术像调用 corr() 一样丝滑,极大降低了学术算法的落地门槛。

适合谁

  • 敏捷开发者与灵感验证: 厌倦了厚重的配置,希望在几行代码内完成从想法到回测报告的转化,享受类 backtesting.py 的轻快体验,极其适合快速验证原型。
  • 指数增强与组合管理: 面对 1000+ 标的的大规模回测,利用 Rust Panel Runner 实现秒级调仓模拟,彻底告别传统框架在多资产处理上的漫长等待。
  • 机器学习与因子研究: 希望将特征工程、因果发现、模型训练(MLflow 追踪)与回测一站式打通,构建从数据到报告的完整自动化闭环。
  • Backtrader 资深玩家: 在保留成熟事件驱动语义的同时,寻求更现代的报告体系、全链路流水线以及高性能 Rust 回测内核。
  • 跨市场与多策略团队:
    • 跨市场统一:同时覆盖 A股 (TDX) 与海外 (TradingView),要求指标口径与报告体系完全一致。
    • 全体系维护:统一管理规则策略与模型策略,拒绝工具链割裂带来的研发与维护成本。
  • 因果推断探索者: 致力于在因子筛选阶段引入因果图技术,通过剔除“伪相关”来构建具有强解释性和高稳健性的量化系统。

因果与ML主线保留:现有研究接口显式连接训练标签、选择器和策略。方法/时序边界、报告接入及未发布AutoML迁移见因果指南。

安装

默认安装提供研究、回测、通用策略生命周期及策略日志组件;不自动连接账户、启用策略或发送日志。源码基线为 Python >=3.10,原生扩展和依赖二进制须匹配操作系统与 Python ABI;本轮实际资格及未验范围见下表。

pip install trade-learn==0.2.9

选择 Nautilus 执行宿主时,在 Python 3.13 或 3.14 安装:

pip install "trade-learn[nautilus]==0.2.9"

[nautilus] 固定官方 nautilus_trader==2.0.0rc7。这条可选执行路径使用预发行框架,按实验性接入提供;仍需显式账户、标的、venue 路由与恢复配置。其它 Python 版本的 pip 会按依赖 marker 跳过 Nautilus,不能因此使用执行桥;基础 TL 功能仍可用。详见安装与运行边界。

可选 extras:

extra 用途
[research] 数据源、指标、因子、机器学习、Parquet/DuckDB、报表与优化
[nautilus] 官方NT 2.0.0rc7与AWS SDK;执行桥仍需Python 3.13/3.14
[tl-store] 按需安装TL-Store当前cTrader独立组件;仅已验证的Python3.13、Mac arm64/Linux x86_64

当前源码提供默认安装及research、nautilus、tl-store三个extras;完整研究工作台组合为 pip install ".[research]",执行/发送使用 pip install ".[nautilus]"(从源码根目录安装需要Rust/maturin,亦可使用对应本地wheel)。基础安装仍无AWS;发送必须另配受限授权,不自动联网或交易。Python 3.10–3.12安装nautilus组只得到SDK,NT会被marker跳过,执行入口明确拒绝。

已发布PyPI 0.2.9保留原有extras与依赖;这里的源码安装组只描述当前源码,不代表新版本已发行。通过TL使用cTrader的推荐发行目标命令统一为 pip install "trade-learn[nautilus,tl-store]";tl-store是本包extra,自动安装已验证的独立组件,实际选择本地构建的tl-store发行包。用户不用另写adapter版本;完整依赖锁定由metadata维护,当前组合仅验Python3.13 Mac arm64/Linux x86_64。旧公开0.2.9没有统一Store API2和此extra,须使用对应本地候选,待TL正式兼容版本实际发布后才能使用公网命令。独立NA用户不反向依赖TL。开发与文档工具用 uv sync --group dev / uv sync --group docs,不再作为公开extras。tradelearn lab使用 [research] 的JupyterLab/AI Lite/Skills,只启动JupyterLab;CLI仅保留new/lab/doctor与help/version,默认MLflow为本地sqlite:///mlflow.db,不启动服务。默认安装保留tqdm和TA-Lib;CLI不再依赖Typer;PyYAML只用于显式YAML配置,HTTP数据客户端归research,Nautilus组保留AWS所需urllib3安全约束;基础CLI help/version/doctor无需这两项,读取已有YAML需PyYAML。

研究组在 Python 3.12+ 安装 KunQuant 0.1.12;官方 abi3 wheel 从 CPython 3.12 起,macOS ARM 需 14+。图资格以指标指南为准,不由依赖安装推定全部公式已合格。

当前通用 uv.lock 尚未闭合:tl-store 0.2.1a2 尚未公开,完整解析会失败。源码研究安装可先使用上述 pip install ".[research]";不要把现有锁文件视为本轮新依赖的冻结结果。

原生产物与平台

能力 Python / 平台
研究、回测与原生内核 源码基线 Python >=3.10;本机 macOS ARM CPython3.12 安装已验。TA-Lib0.8.3 无 Python3.10 二进制 wheel,ARM 二进制依赖需 macOS14+;其他运行平台待最终产物验收。
可选 Nautilus 执行 Python 3.13/3.14,须存在官方 rc7 对应平台 wheel;订单、产品及真实 venue 的支持另行验收
策略日志 需匹配的本包 native Recorder;本地持久化与远程发送按平台分别验证,详情见运行说明

快速上手

以下快速上手示例调用 TradingView、TDX 指标和报表,请先安装 pip install ".[research]"。单标的时间序列因子评估见 Research 指南。

Lite——最短路径(适合快速验证、教学、多资产目标权重):

import tradelearn.lite as tl
from tradelearn.data import TradingViewProvider


class LiteSmaCross(tl.Strategy):
    fast = 10
    slow = 20

    def init(self):
        self.fast_ma = tl.tdx.MA(self.data.close, N=self.fast)
        self.slow_ma = tl.tdx.MA(self.data.close, N=self.slow)
        self.addminperiod(self.slow + 2)

    def next(self):
        if self.fast_ma[0] > self.slow_ma[0] and not self.position():
            self.buy(size=100)
        elif self.fast_ma[0] < self.slow_ma[0] and self.position():
            self.position().close()


provider = TradingViewProvider(n_bars=5000)
bars = provider.history_ohlc("NASDAQ:AAPL", start="2023-01-01", end="2024-01-01")

bt = tl.Backtest(bars, LiteSmaCross, cash=100_000, commission=0.0003, trade_on_close=True)
stats = bt.run()

print(stats.summary)
bt.plot()
bt.report("report.html")

Engine——Backtrader 风格(适合复杂 / 组合策略;paper/live 由外部宿主驱动):

import tradelearn.engine as bt
from tradelearn.data import TradingViewProvider
from tradelearn.indicators import tdx


class SmaCross(bt.Strategy):
    params = (("fast", 10), ("slow", 20))

    def __init__(self):
        self.fast = tdx.MA(self.data.close, N=self.p.fast)
        self.slow = tdx.MA(self.data.close, N=self.p.slow)

    def next(self):
        if not self.position and self.fast[0] > self.slow[0]:
            self.buy(size=100)
        elif self.position and self.fast[0] < self.slow[0]:
            self.close()


provider = TradingViewProvider(n_bars=5000)
bars = provider.history_ohlc("NASDAQ:AAPL", start="2023-01-01", end="2024-01-01")

cerebro = bt.Cerebro()
cerebro.broker.setcash(100_000)
cerebro.broker.setcommission(commission=0.0003)
cerebro.broker.set_coc(True)
cerebro.adddata(bt.feeds.PandasData(dataname=bars), name="AAPL")
cerebro.addstrategy(SmaCross)

[strategy] = cerebro.run()
print(strategy.stats.summary)

cerebro.plot()
from tradelearn.report import Reporter
Reporter(strategy.stats).report("report.html")

使用范围

TradeLearn 面向策略研究与回测,不推荐用于真实资金的实盘交易。回测结果不保证未来表现。

投研流水线示例

Lite pipeline与Engine pipeline沿共同拟合流程:真实label_end统一purge、各预处理步骤独立columns、显式ResearchRun组件登记/实际调用、完整本地部署bundle。Reporter与tradelearn.integrations.mlflow.log只消费已有结果,模型发布和附件显式选择。

输入、CLI与恢复流程见研究指南和MLflow指南。按脚本显式选择离线数据和推理输入;导入不自动获取行情、调用付费模型或启动实盘。README不复制另一套可能落后的研究流水线实现。

对齐与性能

以下数字为对应历史输入与环境下的基准,不代表所有策略或新增 observer 路径的性能。本机基线关注两个核心:结果是否对齐、吞吐是否明显快于 Backtrader。完整复现命令见 性能基准。

1. 单标的高频压测:双均线交叉 (55 万 Bar)

  • 策略原理:执行标准的双均线交叉逻辑。旨在压测 Rust 在处理长序列、单数据流时的事件驱动性能与状态维护效率,挑战单核推进极限。
引擎模式 处理耗时 吞吐量 (Bars/s) 加速比 最终权益 成交单数 闭环交易 状态
Tradelearn Lite 1.32s 414,990 27.9x 118,399.33 10,299 5,149 EXACT
Tradelearn Engine 3.37s 162,883 11.0x 118,399.33 10,299 5,149 EXACT
Backtrader (Oracle) 37.02s 14,854 1.0x 118,399.33 10,299 5,149 -

2. 多标的大规模指增:Top-50 目标权重 (504 万 Bar)

  • 策略原理:模拟 1000 标的全市场选股调仓。旨在压测 Rust 对大规模 Panel 数据的内存布局优化与并发处理能力,真实还原机器学习策略的投研场景。
引擎模式 处理耗时 吞吐量 (Bars/s) 加速比 最终权益 完成订单 调仓意图 重平衡次数
Tradelearn Lite 2.40s 2,094,237 119.1x 4,199,638.26 23,249 23,249 239
Tradelearn Engine 4.11s 1,225,594 69.7x 4,199,638.26 23,249 23,249 239
Backtrader (Oracle) 286.53s 17,589 1.0x 4,199,638.26 23,249 23,249 239

一致性承诺

trade-learn 将“对照基线”视为核心工程纪律。我们确保每一项计算结果都经得起严苛推敲,并在以下维度保持数值对齐:

  • 金融指标对齐:metrics(Sharpe, MaxDD, Sortino 等)完全对标 empyrical,误差控制在 rtol=1e-10。
  • 多源指标对齐:
    • tl.tdx (通达信口径) 对标 MyTT:rtol=1e-10。
    • tl.tv (TradingView 口径) 对标 pyneCore 实现:rtol=1e-6。
  • 回测引擎对齐:
    • 决策层:成交记录 (Trades) 对标 Backtrader 官方实现,实现 0 差异(时间、方向、头寸完全一致)。
    • 净值层:Equity 曲线误差 rtol=1e-6,汇总统计数据误差 rtol=1e-4。

完整文档

主题 入口
30 行走通第一个回测 快速开始
Lite / Engine 用法 Lite 指南 · Engine 指南
外部执行与日志 执行接入 · 运行与日志
架构与边界 架构
因子 / ML / 权重研究流水线 Research 指南
双口径指标(tl.talib / tl.tdx / tl.tv) Indicators 指南
性能基线 性能基准
内核(契约 / 撮合 / portfolio / 事件循环) 设计笔记
完整 API API 参考

🚀 路线图 (Roadmap)

基于当前的工程规划,我们将 trade-learn 的进化路径划分为以下核心维度:

回测引擎与核心地基

  • Rust 混合内核:实现 Clocked Multi-Data Runner,多资产回测性能提升 110x+。
  • Backtrader 语义对齐:撮合逻辑 100% 一致,支持通过 bt.Strategy 共享底层 Runtime。
  • 指数增强流水线:打通 Data → Factor → Score → Weights → target_weights() 全流程。
  • 自动化实验审计:深度集成 MLflow,自动记录代码快照、参数、指标及报告。
  • 高性能数据后端:DuckDB 原生连接器已落地,支持亿级 Bar 的本地秒级读取与跨维度查询。
  • 风险模型集成:支持 Barra 风格风险暴露分析与超额收益分解。

科学投研能力

  • 因果发现基础:集成 CausalSelector (PC/FCI),从特征工程阶段识别 Alpha 真实驱动。
  • 算法增强:引入 GIES、Direct-LiNGAM 等高级算法,提升因子筛选的可解释性与稳定性。
  • 因果驱动闭环:将因果分析与参数优化、风险控制形成自动化的研发闭环。

智能体与 AI 能力

  • 研究入口:CLI仅new/lab/doctor,AI Lite使用版本匹配Skills;TL自建MCP已退役。AI/provider真实资格另行记录。
  • Agentic 策略诊断:利用 LLM 自动解析回测结果,识别亏损动因并给出逻辑优化建议。
  • LLM 因子解释器:利用大模型将因果发现结果转化为直观的金融投资逻辑。

工程化与 ML 生命周期

  • Model Registry:基于 MLflow 实现模型注册,支持特征指纹与模型版本的全生命周期管理。
  • 分布式参数优化:基于 Ray / Optuna 扩展多机并行的参数搜索与蒙特卡洛模拟。

实盘与生态愿景

  • 通用实盘事件链路:默认研究、事件回放和外部 paper/live 共用策略生命周期;成交结果取决于券商及输入调度。
  • 可选执行宿主:通用 Nautilus 桥与可选日志装配;具体来源、订单及生产接入仍逐项验收,生产凭据不随公共包交付。
  • Agentic Quant 平台:最终演进为支持自然语言驱动的全流程投研自动化底座。

免责声明 (Disclaimer)

本项目仅用于学术研究与技术交流,不构成任何投资建议。量化交易存在极高风险,回测表现不代表未来实盘收益。开发者不对因使用本项目导致的任何经济损失承担责任。请投资者谨慎决策,风险自担。

This project is for academic research and technical exchange only and does not constitute any investment advice. Quantitative trading involves high risk; past performance is not indicative of future results. The developers are not responsible for any financial losses incurred through the use of this project. Invest at your own risk.

致谢

Quantopian · Trevor Stephens · PyWhy · dodid · DolphinDB · happydasch · mpquant · baobao1997

联系方式

微信公众号:知守溪的收纳屋 · 邮箱:muyes88@gmail.com

Metadata

Release files for trade-learn 0.3.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 trade-learn 0.3.0
File Size Uploaded Provenance Actions
trade_learn-0.3.0.tar.gz 601.7 kB With provenance Details for trade_learn-0.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for trade-learn 0.3.0
File Actions
trade_learn-0.3.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for trade_learn-0.3.0-cp314-cp314-win_amd64.whl
trade_learn-0.3.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for trade_learn-0.3.0-cp314-cp314-manylinux_2_28_x86_64.whl
trade_learn-0.3.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for trade_learn-0.3.0-cp314-cp314-macosx_11_0_arm64.whl
trade_learn-0.3.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for trade_learn-0.3.0-cp313-cp313-win_amd64.whl
trade_learn-0.3.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for trade_learn-0.3.0-cp313-cp313-manylinux_2_28_x86_64.whl
trade_learn-0.3.0-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details for trade_learn-0.3.0-cp313-cp313-manylinux_2_28_aarch64.whl
trade_learn-0.3.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for trade_learn-0.3.0-cp313-cp313-macosx_11_0_arm64.whl
trade_learn-0.3.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for trade_learn-0.3.0-cp312-cp312-win_amd64.whl
trade_learn-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for trade_learn-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl
trade_learn-0.3.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for trade_learn-0.3.0-cp312-cp312-macosx_11_0_arm64.whl
trade_learn-0.3.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for trade_learn-0.3.0-cp311-cp311-win_amd64.whl
trade_learn-0.3.0-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for trade_learn-0.3.0-cp311-cp311-manylinux_2_28_x86_64.whl
trade_learn-0.3.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for trade_learn-0.3.0-cp311-cp311-macosx_11_0_arm64.whl
trade_learn-0.3.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for trade_learn-0.3.0-cp310-cp310-win_amd64.whl
trade_learn-0.3.0-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details for trade_learn-0.3.0-cp310-cp310-manylinux_2_28_x86_64.whl
trade_learn-0.3.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for trade_learn-0.3.0-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 16.8 MB

Release files / trade_learn-0.3.0.tar.gz

Download URL trade_learn-0.3.0.tar.gz
Size 601.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b2091a3f38c3862e672359d4fc7c9357095b73472045b45d040bdf690204ec9e
BLAKE2b-256 checksum
How to use checksums
a65645973936c5348c2051c9cabea5ac69f1a4c42ec8edbf91decd364f5654fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp314-cp314-win_amd64.whl

Download URL trade_learn-0.3.0-cp314-cp314-win_amd64.whl
Size 922.7 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
4b649e5189be4ca382c861c72c886dfd39f2dc24e73796f125fb1dc19d3db11e
BLAKE2b-256 checksum
How to use checksums
b2ae5569b7b455409f1cf4acc0c97dfcea39e982c9b575e9e84f25501dea4e09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL trade_learn-0.3.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 1.1 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c462f794ca062420bb98a31b12fef7dbbdcd8eea46a809d9a925c08a2a50dba8
BLAKE2b-256 checksum
How to use checksums
468559653728afa0afd84e23aacd6103ea97d3d32d007a7f780cca333d7dd2f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL trade_learn-0.3.0-cp314-cp314-macosx_11_0_arm64.whl
Size 1.0 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1fff1061ffd90fedbf98ba4e7a553d6ee2e9d2cd502cdd24b3fb4743f0582db6
BLAKE2b-256 checksum
How to use checksums
45a72467672017529d6aaed1bb0e6591a93b9afe8c1fd0db8d0eb9b82b654e20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp313-cp313-win_amd64.whl

Download URL trade_learn-0.3.0-cp313-cp313-win_amd64.whl
Size 922.0 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
f04bd9a3e71b82a60d3a7a9d621cd7d546a310f7bb388f6b1715d0fb2cdbb1a2
BLAKE2b-256 checksum
How to use checksums
63be9344421d3c6e5998f24add3530f1656c77a2db7d0b13256d773497c4d44b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL trade_learn-0.3.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 1.1 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f49027f79a0ad8f5b6b2f205585ced7308e62a344702cf382a9d6beb01d34cb1
BLAKE2b-256 checksum
How to use checksums
b9d6b27f2fbab54966c222456975caa648af99a7d11e0c7d81bedc7084c916c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL trade_learn-0.3.0-cp313-cp313-manylinux_2_28_aarch64.whl
Size 1.1 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
09b661ea4174937e3243cc6fe2dd63e16649650716c2a5d2c3c8f48299d84f32
BLAKE2b-256 checksum
How to use checksums
c0fea673e0d105b891689f78471e3c2d41275c23101cee6988564ab8eae0a56e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL trade_learn-0.3.0-cp313-cp313-macosx_11_0_arm64.whl
Size 1.0 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b42a0b94bfc16b36d256b96b97ae0f6dd934578ae2a9c48472b63da5eb66b60c
BLAKE2b-256 checksum
How to use checksums
d1a36e862c39d2b2561bbffa19d0168976302d3411cfa7957cd7f8f3e3781475
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp312-cp312-win_amd64.whl

Download URL trade_learn-0.3.0-cp312-cp312-win_amd64.whl
Size 922.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
eecc8693bb62a10738ef3ad92f94355059696b898fd883d97916f66169c8e950
BLAKE2b-256 checksum
How to use checksums
a69789dbc7470fb6fcb6e5d184ebef53aa4de3fb522a0f7750bee1beb344c3d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL trade_learn-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e60e9209b9bbf019c7d3874b9b1531d4bf0fa8b78719cec2117e7829a3d7289a
BLAKE2b-256 checksum
How to use checksums
c5e49e09447d503c8f70937561a08d33dcf00b75a81c641bf4fd95ae0555c806
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL trade_learn-0.3.0-cp312-cp312-macosx_11_0_arm64.whl
Size 1.0 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
95f0151d6f3afa5751fb8f48aa9473e09aa97bf0134e06e0da368a9b5409b2e6
BLAKE2b-256 checksum
How to use checksums
66c374df7fefc1ea2df4a24cae6a7cb3bca563af97d2f446aef7e0ea4600c471
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp311-cp311-win_amd64.whl

Download URL trade_learn-0.3.0-cp311-cp311-win_amd64.whl
Size 926.0 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
4fa4effe00aadd2e5344c37c4d02c71a5bade73829407eca92ece8f53e3be34d
BLAKE2b-256 checksum
How to use checksums
d586ce1788577a5daaae8e04bf5c51946450c6545ee9cf5edd71b520e445866a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL trade_learn-0.3.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 1.1 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fa0a62ba4c22badbe9a4ff251d6656a3dbff562cab4f2852f4a37a42e2b2f482
BLAKE2b-256 checksum
How to use checksums
d086a69243c74d639e325809dae91ce03f4303965168d1b7e2b2c69a43233f18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL trade_learn-0.3.0-cp311-cp311-macosx_11_0_arm64.whl
Size 1.0 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6b7eef08a95a52882f0eae399c2c65293275a8866176eca5aef521dacb435c03
BLAKE2b-256 checksum
How to use checksums
090fbb213ad72b29fc466d85c37c4eb58d3b0d567010b6ed049c5431be1bb7ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp310-cp310-win_amd64.whl

Download URL trade_learn-0.3.0-cp310-cp310-win_amd64.whl
Size 926.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
2eef417a3d77bb881d8f9699d8f9a4e5d239313574a9193385de8c7a8f74e157
BLAKE2b-256 checksum
How to use checksums
b78bda1ed0e7a5159dcdc7aa5f07d0e43fc41845b312947bab165109596ea45e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL trade_learn-0.3.0-cp310-cp310-manylinux_2_28_x86_64.whl
Size 1.1 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
dad18d06216f9a17daaba72ad907d80c480a1a7aaaa14f5b247c00d4d7fd98bc
BLAKE2b-256 checksum
How to use checksums
08075b3f96f0af72a645763617eb2bb798cb7ef617cf4beb57b54ed0a9b999f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / trade_learn-0.3.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL trade_learn-0.3.0-cp310-cp310-macosx_11_0_arm64.whl
Size 1.0 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bc749691c6b5006326fa4e3db79ef185b81154877b131c9c0a9f220372924e21
BLAKE2b-256 checksum
How to use checksums
f575290c116b5ab34cd49b7362307aa11903a4fde5a69538f2fa21e5a1444e87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for trade-learn 0.3.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.

Full provenance

All 17 files in this release have been uploaded with provenance metadata.

Select from 17 files

Attestation for trade_learn-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

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.

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