Skip to main content

Trading backtesting

Project description

Tflask: 金融交易回测 Python 库


简介

Tflask 是一个用于金融交易回测的 Python 库,提供了一系列函数来支持各种交易策略的回测与分析。该库主要功能包括止盈止损条件判断、每日持仓状态计算、机器学习模型训练、获取币安API数据、绘制K线图以及策略评价指标计算等。通过 Tflask,用户可以方便地进行交易策略的回测与优化。当然,为提高库的计算效率,在一些耗时较多的算法上应用了C++代码。

安装

你可以通过 pip 安装 Tflask:

pip install Tflask

贡献

欢迎贡献代码或提出建议!你可以通过提交 issue 或 pull request 的方式参与贡献。

许可

本项目基于 MIT license 发布。

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

Tflask-1.0.0.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file Tflask-1.0.0.tar.gz.

File metadata

  • Download URL: Tflask-1.0.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for Tflask-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9f8bd073fb20f4e215c1aaf9f7dc1a7e934d9077f25c2ab94a40187426d809a7
MD5 c8e8edca6fc229e4363709b63535584b
BLAKE2b-256 e9f04d921c003deb040d690efc0eb3c5375e3821358a275083bb158796778a6e

See more details on using hashes here.

Supported by

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