Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. AI in Finance
  3. tforce_btc_trader

tforce_btc_trader

AGPL-3.0Jupyter Notebook

A Bitcoin trading bot using deep reinforcement learning (TensorForce) to automate buy/sell/hold decisions based on price history.

Visit WebsiteGitHubGitHub
836 stars234 forks0 contributors

What is tforce_btc_trader?

TensorForce Bitcoin Trading Bot is an open-source algorithmic trading system that uses deep reinforcement learning to automate Bitcoin trading decisions. It trains agents to buy, sell, or hold BTC based on historical price data, aiming to optimize trading strategies without manual rule-writing. The project focuses on hyperparameter tuning and model architecture experimentation for financial time-series.

Target Audience

Developers and researchers interested in applying reinforcement learning to algorithmic trading, particularly in cryptocurrency markets. It suits those with machine learning experience who want a practical, code-first exploration of trading bots.

Value Proposition

It provides a full-stack, research-oriented trading bot with built-in hyperparameter search and visualization, unlike simpler supervised learning examples. The integration with TensorForce allows experimentation with state-of-the-art RL algorithms specifically adapted for trading.

Overview

TensorForce Bitcoin Trading Bot

Use Cases

Best For

  • Learning deep reinforcement learning applied to financial time-series
  • Experimenting with algorithmic trading strategies for cryptocurrencies
  • Comparing LSTM vs CNN architectures for price prediction models
  • Hyperparameter optimization using Bayesian methods for RL models
  • Building a customizable, self-hosted Bitcoin trading bot
  • Educational projects in machine learning for trading

Not Ideal For

  • Commercial traders expecting a profitable, out-of-the-box solution without extensive tuning
  • Production systems requiring stable, well-maintained code with long-term support
  • Developers seeking a simple supervised learning model for basic price prediction
  • Teams with limited GPU resources or needing fast, low-latency trading execution

Pros & Cons

Pros

Advanced RL Foundation

Integrates Proximate Policy Optimization (PPO) from TensorForce for automated decision-making in trading, moving beyond simple prediction to strategy learning.

Sophisticated Hyperparameter Search

Uses Bayesian Optimization and gradient boosting to systematically tune neural network configurations, which the README emphasizes as critical for RL success in trading.

Flexible Model Architectures

Supports both LSTM and CNN models, allowing experimentation with different approaches for time-series data, as discussed in the LSTM v CNN section.

Live Trading with Safety Nets

Includes dry-run test mode and live trading mode with explicit risk warnings, enabling real-world deployment after validation.

Custom Visualization Dashboard

Provides a React/Flask dashboard for analyzing hyperparameter runs and agent performance signals, offering more customization than TensorBoard.

Cons

Unproven and Unstable

The author admits tests don't converge and warns against expecting profits, stating 'something is fundamentally missing,' making it unreliable for actual trading.

Complex, Fragile Setup

Requires manual installation of TA-Lib, Postgres databases, and chasing TensorForce's HEAD from git, leading to dependency issues and steep learning curves.

High Resource Demands

Recommends GPU usage for performance, with memory constraints potentially crashing hypersearch unless using flags like --autoencode, limiting accessibility.

Inactive Maintenance

The project has been largely inactive since 2018, with the author stepping away, so users must rely on community support or self-maintenance.

Frequently Asked Questions

Quick Stats

Stars836
Forks234
Contributors0
Open Issues21
Last commit7 years ago
CreatedSince 2017

Tags

#trading-bot#hyperparameter-optimization#algorithmic-trading#deep-learning#tensorforce#cryptocurrency#python#postgresql#reinforcement-learning

Built With

D
D3.js
P
PostgreSQL
R
React
T
TA-Lib
P
Python
F
Flask

Links & Resources

Website

Included in

AI in Finance5.6k
Auto-fetched 6 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub