backtrader结合大语言模型chatGPT

点此获取扫地僧backtrader技术教程

========

现在大语言模型chatGPT非常热,很多人用它来辅助编写程序。那么,能不能利用大语言模型来辅助编写backtrader策略程序呢?

github上还真有人做了一个项目backtrader_copilot,可以通过LangChain使用Chatgpt来辅助backtrader编程。

特性如下:

Features

  • Loading backtrader code
  • Generating natural language descriptions of implemented strategy rules
  • Generating a graph visualisation of the implemented backtest (required graphviz installed)
  • Generating feedback for implemented trading strategy
  • Generating backtrader backtest code based on natural language description for
    • data
    • strategies
    • analysers
    • (...) more to come

  • Autopilot that guides user through the process of setting up a backtest in backtrader by asking a series of questions.
  • Save generated code

Quick start guide

  • see main_example.py

Limitations

  • A lot of limitations, this is v0.1 with the aim of providing functioning basic infrastructure.
  • This version can only provide very limited and simple but functioning examples, this version is not production ready.
  • Simple prompt templates are implemented, these have a lot of potential for improvement.
  • No web-based UI yest (planned).
  • No custom indicators yet (planned).
  • Only a single shot implementation of the coding agent. More complex code implementation and testing strategies will be required (planned).
  • Autopilot is static and does not ask dynamic questions yet (planned)
  • No logging implemented (planned).

相关推荐

  1. backtrader结合语言模型chatGPT

    2024-01-24 12:46:02       60 阅读
  2. ChatGPT语言模型为什么没有智能

    2024-01-24 12:46:02       57 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-24 12:46:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-24 12:46:02       101 阅读
  3. 在Django里面运行非项目文件

    2024-01-24 12:46:02       82 阅读
  4. Python语言-面向对象

    2024-01-24 12:46:02       91 阅读

热门阅读

  1. 大语言模型常见的文本切分方式整理汇总

    2024-01-24 12:46:02       63 阅读
  2. IOS-闭包学习-Swift

    2024-01-24 12:46:02       64 阅读
  3. Node.js Shell 脚本开发指南(下)

    2024-01-24 12:46:02       47 阅读
  4. Vue nextTick使用场景及实现原理

    2024-01-24 12:46:02       49 阅读
  5. 2.docker client

    2024-01-24 12:46:02       45 阅读
  6. 数据库(SQL语句:DML&&DQL)

    2024-01-24 12:46:02       44 阅读
  7. R语言【taxa】——taxa包中的类

    2024-01-24 12:46:02       53 阅读
  8. Matlab之对复数使用函数real和abs的区别

    2024-01-24 12:46:02       56 阅读