All Projects → s-brez → Trading Server

s-brez / Trading Server

Licence: gpl-3.0
A multi-asset, multi-strategy, event-driven trade execution and management platform for running many algorithms/bots at many venues simultaneously with unified risk management and reporting. Uses MongoDB for storage and Telegram for user notifications/trade consent.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Trading Server

AutoTrader
A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.
Stars: ✭ 227 (+18.85%)
Mutual labels:  trading, trading-bot, forex, trading-platform, technical-analysis, algorithmic-trading, quantitative-trading
Siis
Trading bot including terminal, for crypto and traditionals markets. Assisted or fully automated strategy.
Stars: ✭ 45 (-76.44%)
Mutual labels:  trading-bot, cryptocurrency, trading, binance, trading-platform, forex
Turingtrader
The Open-Source Backtesting Engine/ Market Simulator by Bertram Solutions.
Stars: ✭ 132 (-30.89%)
Mutual labels:  trading-bot, trading, algorithmic-trading, trading-platform, quantitative-trading, technical-analysis
Zvt
modular quant framework.
Stars: ✭ 1,801 (+842.93%)
Mutual labels:  trading-bot, cryptocurrency, algorithmic-trading, trading-platform, quantitative-trading, technical-analysis
Algotrading
Algorithmic trading framework for cryptocurrencies.
Stars: ✭ 249 (+30.37%)
Mutual labels:  trading-bot, cryptocurrency, trading, algorithmic-trading, backtest
Roq Api
API for algorithmic and high-frequency trading
Stars: ✭ 132 (-30.89%)
Mutual labels:  trading-bot, cryptocurrency, trading, algorithmic-trading, trading-platform
Krypto Trading Bot
Self-hosted crypto trading bot (automated high frequency market making) written in C++
Stars: ✭ 2,589 (+1255.5%)
Mutual labels:  trading-bot, cryptocurrency, trading, binance, trading-platform
Gekko Strategies
Strategies to Gekko trading bot with backtests results and some useful tools.
Stars: ✭ 1,022 (+435.08%)
Mutual labels:  trading-bot, cryptocurrency, trading, trading-platform, technical-analysis
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 (-45.55%)
Mutual labels:  trading-bot, trading, algorithmic-trading, trading-platform, quantitative-trading
Socktrader
🚀 Websocket based trading bot for 💰cryptocurrencies 📈
Stars: ✭ 152 (-20.42%)
Mutual labels:  trading-bot, cryptocurrency, trading, algorithmic-trading, trading-platform
Crypto Signal
Github.com/CryptoSignal - #1 Quant Trading & Technical Analysis Bot - 3,100+ stars, 900+ forks
Stars: ✭ 3,690 (+1831.94%)
Mutual labels:  trading-bot, trading, binance, technical-analysis, algorithmic-trading
Octobot
Cryptocurrency trading bot: high frequency, daily trading, social trading, ...
Stars: ✭ 706 (+269.63%)
Mutual labels:  trading-bot, cryptocurrency, trading, technical-analysis, telegram
Jesse
An advanced crypto trading bot written in Python
Stars: ✭ 1,038 (+443.46%)
Mutual labels:  trading-bot, cryptocurrency, trading, algorithmic-trading
Stock.indicators
Stock indicator technical analysis library package for .NET. Send in historical price quotes and get back desired technical indicators. Nothing more. It can be used in any market analysis software using standard OHLCV price quotes for equities, commodities, forex, cryptocurrencies, and others. We had private trading algorithms, machine learning, and charting systems in mind when originally creating this community library. Current indicators include: Accumulation/Distribution Line (ADL), Aroon Oscillator, Arnaud Legoux Moving Average (ALMA), Average Directional Index (ADX), Average True Range (ATR), Awesome Oscillator (AO), Balance of Power (BOP), Beta Coefficient, Bollinger Bands®, Chaikin Money Flow (CMF), Chaikin Oscillator, Chandelier Exit, Choppiness Index (CHOP), Commodity Channel Index (CCI), ConnorsRSI, Correlation Coefficient, Donchian Channels, Double Exponential Moving Average (DEMA), Elder-ray Index, Exponential Moving Average (EMA), Force Index, Fractal Chaos Bands (FCB), Gator Oscillator, Heikin-Ashi, Hull Moving Average (HMA), Ichimoku Cloud, Kaufman's Adaptive Moving Average (KAMA), KDJ Index, Keltner Channels, Momentum Oscillator, Money Flow Index (MFI), MESA Adaptive Moving Averages (MAMA), Moving Average Convergence/Divergence (MACD), Moving Average Envelopes, On-balance Volume (OBV), Parabolic SAR (stop and reverse), Percentage Volume Oscillator (PVO), Pivot Points and Rolling Pivot Points, Price Channels, Price (Comparative) Relative Strength (PRS), Price Momentum Oscillator (PMO), Rate of Change (ROC), Relative Strength Index (RSI), R-Squared (Coefficient of Determination), Simple Moving Average (SMA), Slope and Linear Regression, Smoothed Moving Average (SMMA), Standard Deviation, Stoller Average Range Channel (STARC) Bands, Stochastic Oscillator, Stochastic RSI, SuperTrend, Tillson T3 Moving Average, Triple Exponential Moving Average (TEMA), Triple EMA Oscillator (TRIX), True Strength Index (TSI), Ulcer Index, Ultimate Oscillator, Volume Simple Moving Average, Volume Weighted Average Price (VWAP), Vortex Indicator (VI), Weighted Moving Average (WMA), Williams %R, Williams Alligator, Williams Fractal, and Zig Zag.
Stars: ✭ 157 (-17.8%)
Mutual labels:  cryptocurrency, algorithmic-trading, technical-analysis, forex
Crypto Trading Bot
Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, FTX, Bybit ... (public edition)
Stars: ✭ 1,089 (+470.16%)
Mutual labels:  trading-bot, cryptocurrency, trading, binance
Pythonic
Graphical Python programming for trading and automation
Stars: ✭ 131 (-31.41%)
Mutual labels:  trading-bot, cryptocurrency, binance, trading-platform
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 (-47.64%)
Mutual labels:  trading-bot, trading, binance, trading-platform
Kupi Terminal
Ccxt based, open source, customized, extendable trading platform that supports 130+ crypto exchanges.
Stars: ✭ 104 (-45.55%)
Mutual labels:  cryptocurrency, trading, binance, trading-platform
Bitprophet
Node crypto trading platform for Binance exchange.
Stars: ✭ 166 (-13.09%)
Mutual labels:  cryptocurrency, trading, binance, telegram
Gocryptotrader
A cryptocurrency trading bot and framework supporting multiple exchanges written in Golang.
Stars: ✭ 2,214 (+1059.16%)
Mutual labels:  trading-bot, cryptocurrency, algorithmic-trading, trading-platform

trading-server

A multi-asset, multi-strategy, event-driven trade execution and management platform for running many algorithms/bots at many venues simultaneously, with unified risk management and reporting.

This is not a standalone trading bot. You need to install and run this on a server or VPS using your own trading algorithms.

Installation

Using python 3.9

  1. Install mongodb (https://www.mongodb.com/)
  2. Install TA-Lib python bindings (links to wheels here https://blog.quantinsti.com/install-ta-lib-python/) and binaries (https://mrjbq7.github.io/ta-lib/install.html)
  3. Set up a telegram bot, record the bot key in enviroment variable TELEGRAM_BOT_TOKEN.
  4. Create a whitelist for telegram account ID's you want to have control of the server, recorded in environment variable TELEGRAM_BOT_WHITELIST, eg [<USER_ID_1>, <USER_ID_2>]
  5. Set up accounts for all venues you will trade at, recording API keys and secret keys in environment variables <VENUE_NAME>_API_KEY and <VENUE_NAME>_API_SECRET
  6. Configure what venues, instruments, models and timeframes you want to trade in server.py and model.py.
  7. Install dependencies in requirments.txt
  8. Run the server with python server_test.py. Note it will take some time to fetch historical data for the instruments you are trading.

Current features

Trade any API-accessible market with unified multi-strategy portfolio management, autonomously or semi-autonomously.

Allocation-based risk management (allocate x% of capital to specific strategies with y% exposure per strategy).

Porfolio performance metrics and tracking. Tracks the following:

Feature library - assemble new strategies quickly from existing features.

Trade consent via Telegram (or write your own messaging client). Accept, veto or tweak trade setups before they are actioned.

WIP features

Account multicasting - trade as many accounts on as many platforms as desired.

UI - web dashboard for portfolio stats and individual trade metrics

Integration with Backtrader

Blockchain-based strategy auditing - publish trade signals to IPFS and Ethereum/BSC to empirically prove win rate over time

Accounting and compliance reporting

Venue support

Venue Integration status Instrument types
Complete Crypto derivatives
In progress Crypto spot, options & derivatives
Planned Crypto spot & derivatives
IG Markets Planned FX, equity, commodity & index CFD's
Interactive Brokers Planned FX, equity, commodity & index CFD's
Deribit Planned Crypto derivatives & options

Market data

1 minute resolution OHLCV bars for all watched instruments are stored with MongoDB.

This software works with 1 minute and above resolution strategies. Tick-resolution support planned later. With this in mind, the software converts tick data to 1 min bars where live tick data is available, but doesn't store ticks locally (i.e. it handles tick data but doesnt use it as is, yet).

Strategy modellling

Individual strategy implementations are not included. A simple moving average cross model is included as an example only. Custom strategy implementations, collaboration or any other enquiries please email me at [email protected].

Collaboration

Feature requests and discussion regarding new features are very welcome, please reach out.

External libraries

TA-LIB - https://mrjbq7.github.io/ta-lib/

Backtrader - https://www.backtrader.com/

Acknowledgements

Based on architecture described by Michael Halls-Moore at QuantStart.com (qsTrader), and written works by E. Chan and M. Lopez de Prado. Thanks all.

License

GNU GPLv3

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].