TrAIde is a comprehensive tool designed to analyze market sentiment and automate trading strategies. It leverages data from various sources, processes it, and provides actionable insights.
- Sentiment Analysis: Analyze market sentiment on each symbol using a a sentiment analysis model for market terms.
- Automated Symbol Caching: Automatically cache symbols daily using AlphaVantage API.
- Continuous Streaming: Real time data streaming and analysis.
- MongoDB Data Storage: Store all collected data for easy access.
- API Endpoints: Connects to
traide-web
for seamless integration.
-
Clone the repository:
git clone https://github.com/soodshaurya/traide.git cd traide
-
Install the required dependencies:
pip install -r requirements.txt
-
Configure the application:
- Duplicate the configuration file
configtemplate.ini
and rename toconfig.ini
. - Add API key, Reddit application information, and MongoDB port.
- Duplicate the configuration file
-
Start the application:
python main.py
-
Access the API endpoints as documented in
api.py
.
- MongoDB: Ensure MongoDB is running on a non-default port (NOT 27017). Update the configuration in
config.ini
. - Logging: Logs are stored in the
logs
directory and are printed to the terminal. Check the latest logs for any issues.
-
Write an algorithm to make a decision to sell/buy and how many to sell/buy.
- Use stock trend for day, week, and month.
- Use average sentiment for day and week.
- Tweak weight values.
-
Implement a weightage system for more influential people and higher comment scores.
-
Implement scraping from facebook groups.
-
Implement scraping of stocks by name in addition to symbol.
- Write a model for sentiment analysis dedicated to market terms.
- Everything before we had a TODO.
- Wrote a timer.
- Updated sub-list and distilbert.
- Streaming rewrite.
- Wrote a script to run continuously.
- API endpoint to connect to
traide-web
. - Wrote an automated symbol caching system (every day right now).
This project is licensed under the MIT License - see the LICENSE
file for details.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.