Skip to content

arthaszyb/trade_expert

Repository files navigation

TradeExpert

TradeExpert is a lightweight application that integrates various data sources and leverages external LLM APIs to generate investment signals or stock recommendations.

Features

  • Data Collection: Gathers news, market data, alpha factors, and fundamental data.
  • LLM-based Analysis: Utilizes external LLM services to interpret data and generate predictions.
  • Decision Output: Provides actionable recommendations like "Buy," "Sell," or "Hold."

Setup

  1. Clone the Repository

    git clone https://github.com/yourusername/trade_expert.git
    cd trade_expert
  2. Create a Virtual Environment

    python3 -m venv venv
    source venv/bin/activate
  3. Install Dependencies

    pip install -r requirements.txt
  4. Configure Environment Variables

    Create a .env file in the project root and add the following:

    LLM_API_KEY=your_llm_api_key
    LLM_ENDPOINT=your_llm_endpoint
    NEWS_API_KEY=your_news_api_key
  5. Run the Application

    python main.py

Usage

  1. When prompted, enter the stock symbol you wish to analyze (e.g., AAPL for Apple Inc.).
  2. The application will fetch the necessary data, interact with the LLM, and output a decision.

Notes

  • Ensure that all API keys are valid and have the necessary permissions.
  • The current implementation uses placeholder functions for fetching fundamental data. Integrate with actual financial APIs as needed.

About

TradeExpert is a lightweight application that integrates various data sources and leverages external LLM APIs to generate investment signals or stock recommendations.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages