FlexTrader
A multi-task deep reinforcement learning model for trading futures contracts using the Interactive Brokers API and TensorFlow
Install / Use
/learn @spawnaga/FlexTraderREADME
FlexTrader
Overview
This project is a multi-task trading algorithm that utilizes various reinforcement learning techniques such as DQN, DDQN, Actor-Critic, and Policy Gradient to trade on the futures market. The algorithm is implemented using the Interactive Brokers API and TensorFlow.
Requirements
Python 3.x TensorFlow IB API (ib_insync) pandas numpy matplotlib
Usage
Clone the repository to your local machine Install the required packages by running pip install -r requirements.txt Run the train.py file to train the algorithm on the specified task (DQN, DDQN, Actor-Critic, or Policy Gradient) Use the Trader class to execute trades on the market using the trained model
Note
This project is intended for educational and research purposes only. The results and performance of the algorithm may not be indicative of actual trading performance.
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
sec-edgar-agentkit
10AI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings.
last30days-skill
4.5kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
