{"repo":"ilcardella/TradingBot","free":true,"listed":false,"github":"https://github.com/ilcardella/TradingBot","clone":"git clone https://github.com/ilcardella/TradingBot.git","description":"Autonomous stocks trading script","language":"Python","stars":282,"topics":["trading","tradingbot","stock-market","ig-index","python","macd"],"license":"MIT","category":"trading","readme_excerpt":"TradingBot This is an attempt to create an autonomous market trading script using the IG REST API and any other available data source for market prices. TradingBot is meant to be a \"forever running\" process that keeps analysing the markets taking actions whether some conditions are met. It is halfway from an academic project and a real useful piece of software, I guess I will see how it goes :) The main goal of this project is to provide the capability to write a custom trading strategy with minimal effort. TradingBot handles all the boring stuff. Dependencies - Python 3.10+ - UV (only for development) - Docker (optional) Install Clone this repo and install TradingBot by running the following command from the repository root folder Setup Login to your IG Index dashboard - Obtain an API KEY from the settings panel - If using the demo account, create demo credentials - Take note of your spread betting account ID (demo or real) - (Optional) Visit AlphaVantage website: https://www.alphavantage.co and request a free api key - Insert these info in a file called .credentials This must be in json format - Copy the .credentials file into the ${HOME}/.TradingBot/config folder - Revoke permissions to read the file from other users Market source There are different ways to define which markets to analyse with TradinbgBot. You can select your preferred option in the configuration file under the market source section: - Local file You can create a file epic ids.txt containg IG epics of the","default_branch":null,"files":null,"tree":[],"storefront":"/r/ilcardella","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ilcardella/TradingBot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}