All Projects → metalcorebear → Pi-Trader

metalcorebear / Pi-Trader

Licence: MIT license
A cryptocurrency day-trading bot for Raspberry Pi.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Pi-Trader

rockfish
Rockfish is an arbitrage bot for the Stellar Decentralized Exchange (SDEX)
Stars: ✭ 58 (+31.82%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms, cryptocurrency-trading-bot, cryptocurrency-exchanges
Coinbase-Pro-Crypto-Trading-Bot-CrypFinder
This is a crypto trading bot made in NodeJS that uses the coinbase pro API.
Stars: ✭ 138 (+213.64%)
Mutual labels:  trading-bot, trading-algorithms, coinbase-pro, coinbasepro-api
quick trade
convenient script for trading with python.
Stars: ✭ 63 (+43.18%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms, cryptocurrency-exchanges
Crypto Signal
Github.com/CryptoSignal - #1 Quant Trading & Technical Analysis Bot - 3,100+ stars, 900+ forks
Stars: ✭ 3,690 (+8286.36%)
Mutual labels:  coinbase, trading-bot, trading-strategies, coinbase-pro
Gekko Strategies
Strategies to Gekko trading bot with backtests results and some useful tools.
Stars: ✭ 1,022 (+2222.73%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms, cryptocurrency-exchanges
Roq Api
API for algorithmic and high-frequency trading
Stars: ✭ 132 (+200%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms
Binance grid trader
A grid trading strategy and trading-bot for Binance Exchange. 币安交易所的网格交易
Stars: ✭ 132 (+200%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms
Socktrader
🚀 Websocket based trading bot for 💰cryptocurrencies 📈
Stars: ✭ 152 (+245.45%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms
Algotrading
Algorithmic trading framework for cryptocurrencies.
Stars: ✭ 249 (+465.91%)
Mutual labels:  trading-bot, trading-algorithms, cryptocurrency-exchanges
Tradingview Alert Binance Trader
This trading bot listens to the TradingView alert emails on your inbox and executes trades on Binance based on the parameters set on the TD alerts.
Stars: ✭ 100 (+127.27%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms
Mynt
An Azure Functions-based crypto currency trading bot; featuring 10 exchanges, 25 indicators, custom strategy support, backtester and more
Stars: ✭ 165 (+275%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms
LiuAlgoTrader
Framework for algorithmic trading
Stars: ✭ 514 (+1068.18%)
Mutual labels:  trading-strategies, trading-algorithms, cryptocurrency-exchanges
Turingtrader
The Open-Source Backtesting Engine/ Market Simulator by Bertram Solutions.
Stars: ✭ 132 (+200%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms
Hummingbot chinese
hummingbot中文资源
Stars: ✭ 114 (+159.09%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms
Quant Trading
Python quantitative trading strategies including VIX Calculator, Pattern Recognition, Commodity Trading Advisor, Monte Carlo, Options Straddle, Shooting Star, London Breakout, Heikin-Ashi, Pair Trading, RSI, Bollinger Bands, Parabolic SAR, Dual Thrust, Awesome, MACD
Stars: ✭ 2,407 (+5370.45%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms
Quant
Codera Quant is a Java framework for algorithmic trading strategies development, execution and backtesting via Interactive Brokers TWS API or other brokers API
Stars: ✭ 104 (+136.36%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms
Chanlun
文件 笔和线段的一种划分.py,只需要把k线high,low数据输入,就能自动实现笔,线段,中枢,买卖点,走势类型的划分了。可以把sh.csv 作为输入文件。个人简历见.pdf。时间的力量。有人说择时很困难,有人说选股很容易,有人说统计套利需要的IT配套设施很重要。还有人说系统有不可测原理。众说纷纭。分布式的系统,当你的影响可以被忽略,你才能实现,Jiang主席所谓之,闷声发大财。
Stars: ✭ 206 (+368.18%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms
Crypto Trading Bot
Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, FTX, Bybit ... (public edition)
Stars: ✭ 1,089 (+2375%)
Mutual labels:  coinbase, trading-bot, trading-strategies
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 (+3209.09%)
Mutual labels:  coinbase, trading-bot, trading-strategies
Krypto Trading Bot
Self-hosted crypto trading bot (automated high frequency market making) written in C++
Stars: ✭ 2,589 (+5784.09%)
Mutual labels:  coinbase, trading-bot, trading-strategies

Pi Trader

(C) 2021 Mark M. Bailey, PhD

About

Pi Trader is a cryptocurrency trading bot for Raspberry Pi. This script instantiates a Raspberry Pi trading bot that interfaces with the Coinbase Pro API. First, it optimizes a trading strategy by backtesting against historic data from the Coinbase exchange. The strategy is based on buy/risk parameters defined as multiples of the Exponential Average True Range (eATR). OHLC data are refreshed each iteration, and a buy/sell signal is calculated and executed if appropriate. For buy signals, the maximum possible number of coins are purchased (with a user-specified fiat buffer preserved). For sell signals, all coins are exchanged for fiat. Strategy is re-optimized at user-defined intervals.

This is what I would consider to be a "dumb" trading strategy based solely on price deviations from an indicator. I am curious about exploring machine learning solutions for trading strategy optimization. Future iterations of this project may include that as an option.

Note that this is an experimental bot, and like all trading strategies, I can not guarantee that it will be profitable if implemented.

If anyone is interested in making this project better, I'd be happy to collaborate.

References

Updates

  • 2021-01-09: Initial commit.

Requirements

  • Raspberry Pi running Debian.
  • Configured WiFi adaptor or ethernet connection.
  • Active Coinbase Pro account API with all access permissions enabled.
  • Recommend installing on a fresh, fully-updated image of Debian.

Installation

  • In terminal, navigate to folder and run git clone https://github.com/metalcorebear/Pi-Trader.git.
  • Navigate to folder and execute sudo ./setup.sh to set up the virtual environment.
  • Edit "parameters.py" file, as appropriate, with Coinbase API keys and other parameters (see below).

Parameters

API Key parameters for Coinbase Pro.

  • key = Public Key (str)
  • secret = Secret Key (str)
  • passphrase = Passphrase (str)

Other bot parameters:

  • API_KEY = parameters.API_KEY (dict)
  • pair = trading pair id (str)
  • granularity = interval time for each iteration in seconds (int)
  • duration = time to run script in seconds (int)
  • cash_buffer = fraction of total cash to keep in account at any given time (float)
  • reframe_threshold = frequency of strategy reoptimization in hours (float)
  • continuous - set to True if script should run indefinitely (bool)
  • chandelier = use/don't use chandelier method for eATR calculation (bool)

Execution

  • To execute, simply run ./run.sh
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].