All Projects β†’ Draichi β†’ T 1000

Draichi / T 1000

Licence: mit
⚑️ ⚑️ π˜‹π˜¦π˜¦π˜± π˜™π˜“ 𝘈𝘭𝘨𝘰𝘡𝘳𝘒π˜₯π˜ͺ𝘯𝘨 𝘸π˜ͺ𝘡𝘩 π˜™π˜’π˜Ί π˜ˆπ˜—π˜

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to T 1000

Algotrading
Algorithmic trading framework for cryptocurrencies.
Stars: ✭ 249 (+74.13%)
Mutual labels:  bot, trading-bot, trading, algotrading
Cassandre Trading Bot
Cassandre makes it easy to create your Java crypto trading bot. Our Spring boot starter takes care of exchange connections, accounts, orders, trades, and positions.
Stars: ✭ 120 (-16.08%)
Mutual labels:  bot, trading-bot, trading
Tradingview Webhooks Bot
a bot that can execute trades based on tradingview webhook alerts!
Stars: ✭ 184 (+28.67%)
Mutual labels:  bot, trading-bot, trading
cira
Cira algorithmic trading made easy. A Façade library for simpler interaction with alpaca-trade-API from Alpaca Markets.
Stars: ✭ 21 (-85.31%)
Mutual labels:  trading, trading-bot, algotrading
Pipeline Live
Pipeline Extension for Live Trading
Stars: ✭ 154 (+7.69%)
Mutual labels:  trading-bot, trading, algotrading
Socktrader
πŸš€ Websocket based trading bot for πŸ’°cryptocurrencies πŸ“ˆ
Stars: ✭ 152 (+6.29%)
Mutual labels:  bot, trading-bot, trading
Alpaca Backtrader Api
Alpaca Trading API integrated with backtrader
Stars: ✭ 246 (+72.03%)
Mutual labels:  trading-bot, trading, algotrading
Jesse
An advanced crypto trading bot written in Python
Stars: ✭ 1,038 (+625.87%)
Mutual labels:  bot, trading-bot, trading
Siis
Trading bot including terminal, for crypto and traditionals markets. Assisted or fully automated strategy.
Stars: ✭ 45 (-68.53%)
Mutual labels:  trading-bot, trading, algotrading
Thewife
Crypto trading bot that reacts to optimized RSI signal πŸ€–πŸ“ˆπŸ’Έ
Stars: ✭ 22 (-84.62%)
Mutual labels:  bot, trading-bot, trading
Blankly
πŸš€ πŸ’Έ Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.
Stars: ✭ 1,456 (+918.18%)
Mutual labels:  trading, trading-bot, algotrading
Cointrol
ΰΈΏ Bitcoin trading bot with a real-time dashboard for Bitstamp.
Stars: ✭ 1,351 (+844.76%)
Mutual labels:  bot, trading-bot, trading
algotrading-example
algorithmic trading backtest and optimization examples using order book imbalances. (bitcoin, cryptocurrency, bitmex, binance futures, market making)
Stars: ✭ 169 (+18.18%)
Mutual labels:  trading, trading-bot, algotrading
Crypto Trading Bot
Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, FTX, Bybit ... (public edition)
Stars: ✭ 1,089 (+661.54%)
Mutual labels:  bot, trading-bot, trading
Lstm Crypto Price Prediction
Predicting price trends in cryptomarkets using an lstm-RNN for the use of a trading bot
Stars: ✭ 136 (-4.9%)
Mutual labels:  bot, trading-bot, algotrading
Wallstreetbets Sentiment Analysis
This program finds the most mentioned ticker on r/wallstreetbets and uses Vader SentimentIntensityAnalyzer to calculate the sentiment analysis.
Stars: ✭ 103 (-27.97%)
Mutual labels:  trading, algotrading
Oandapyv20 Examples
Examples demonstrating the use of oandapyV20 (oanda-api-v20)
Stars: ✭ 102 (-28.67%)
Mutual labels:  trading-bot, trading
Kupi Terminal
Ccxt based, open source, customized, extendable trading platform that supports 130+ crypto exchanges.
Stars: ✭ 104 (-27.27%)
Mutual labels:  bot, trading
Astibot
Astibot is a simple, visual and automated trading software for Coinbase Pro cryptocurrencies (Bitcoin trading bot)
Stars: ✭ 104 (-27.27%)
Mutual labels:  trading-bot, trading
Frequi
Freqtrade UI - Frontend for Freqtrade
Stars: ✭ 96 (-32.87%)
Mutual labels:  trading-bot, trading

T-1000 Advanced Prototype

ubuntu

ubuntu

OS

windows

Codacy Badge

gif

Deep reinforcement learning multi-agent algorithmic trading framework that learns to trade from experience and then evaluate with brand new data

This repository is no longer maintained


Prerequisites

An API Key on CryptoCompare


Setup

Ubuntu

# paste your API Key on .env
cp .env.example .env
# make sure you have these installed
sudo apt-get install gcc g++ build-essential python-dev python3-dev -y
# create env
conda env create -f t-1000.yml
# activate it
conda activate t-1000

Usage

On command line

# to see all arguments available
# $ python main.py --help

# to train
python main.py -a btc eth bnb -c usd

# to test
python main.py /
    --checkpoint_path results/t-1000/model-hash/checkpoint_750/checkpoint-750

On your own file

# instatiate the environment
T_1000 = CreateEnv(assets=['OMG','BTC','ETH'],
                  currency='USDT',
                  granularity='day',
                  datapoints=600)

# define the hyperparams to train
T_1000.train(timesteps=5e4,
              checkpoint_freq=10,
              lr_schedule=[
                  [
                      [0, 7e-5],  # [timestep, lr]
                      [100, 7e-6],
                  ],
                  [
                      [0, 6e-5],
                      [100, 6e-6],
                  ]
              ],
              algo='PPO')

Once you have a sattisfatory reward_mean benchmark you can see how it performs with never seen data

# same environment
T_1000 = CreateEnv(assets=['OMG','BTC','ETH'],
                  currency='USDT',
                  granularity='day',
                  datapoints=600)

# checkpoint are saved in /results
# it will automatically use a different time period from trainnig to backtest
T_1000.backtest(checkpoint_path='path/to/checkpoint_file/checkpoint-400')

Features

  • state of the art agents
  • hyperparam grid search
  • multi agent parallelization
  • learning rate schedule
  • result analysis

"It just needs to touch something to mimic it." - Sarah Connor, about the T-1000


Monitoring

Some nice tools to keep an eye while your agent train are (of course) tensorboard, gpustat and htop

# from the project home folder
$ tensorboard --logdir=models

# show how your gpu is going
$ gpustat -i

# show how your cpu and ram are going
$ htop

Credits


To do

  • [ ] Bind the agent's output with an exchange place order API
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].