Skip to content

SL-Mar/Quant_Coder

Repository files navigation

QuantCoder v0.3

QuantCoder is a tool designed to streamline the process of searching for research articles, downloading PDFs, summarizing content, and generating QuantConnect Python algorithms based on the extracted data.

For an explanation of the code, refer to article : https://medium.com/ai-advances/from-finance-papers-to-trading-algorithms-an-automated-approach-ccd2180ee306?sk=c1e67131cd822bccc1acab1b53ae5331

Features

  • Search Articles: Query the CrossRef API to find relevant journal articles.
  • List Articles: View previously searched articles.
  • Download PDFs: Download article PDFs using direct links or Unpaywall.
  • Summarize Articles: Generate concise summaries of downloaded articles.
  • Generate QuantConnect Code: Create QuantConnect Python algorithms based on article summaries.
  • Interactive Mode: Perform all steps interactively with guided prompts.

Installation

Detailed installation instructions will be provided once the CLI is fully set up.

Usage

To launch the interactive mode of QuantCLI, follow these steps:

  1. Open a terminal window (bash shell).

  2. Navigate to the directory where quantcli is installed.

  3. Type the following command and press Enter:

    quantcli interactive
    

Evolution

Its workflow should be made agentic to enhance code accuracy, using the principles laid in this article : https://medium.com/towardsdev/dual-agent-chatbots-and-expert-systems-design-25e2cba434e9?sk=c947ad4fb868d599988c8070a94ffb8e

License

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