Welcome

Roboquant is an open-source algorithmic trading platform written in Python. It is flexible, user-friendly and free to use. It is designed for anyone serious about algo-trading.
So whether you are a beginning retail trader or an established trading firm, roboquant can help you to develop robust and fully automated trading strategies.
Usage¶
The following code snippet shows the steps to run a full back-test on a number of stocks.
import roboquant as rq # ⑴
feed = rq.feeds.YahooFeed("JPM", "IBM", "F", "TSLA") # ⑵
strategy = rq.strategies.EMACrossover() # ⑶
rq.run(feed, strategy) # ⑷Import the roboquant package
Get historic market data from Yahoo Finance for 4 different stocks
Create an instance of the strategy that you want to test
Run the back test over all the market data in the feed using the strategy we just created
Features¶
Below are some of the key features of roboquant:
fast back testing and live trading
AI/ML based strategies
strongly typed Python
market data feeds from CSV files, Yahoo Finance, Alpaca and many crypto exchanges
multi-currency trading
multi-asset trading with stocks, options, forex and crypto out of the box
larger-than-memory data feeds
TaLib based indicators and strategies
plotting of prices and metrics
modulair and extensible
Key Principles¶
Event-driven streaming — Everything is built around
Eventobjects produced lazily by feeds, supporting both backtesting and live trading with the same pipeline.Pluggible Core - All the core components can be replaced with different implementations
Good Develop Experience —
run(feed, strategy)works out of the box with sensible defaults, making the simplest back-test just a one-liner.Immutable common types —
Asset,Position,Order,Amount,TimeframeandSignalare all immutable, reducing the risk of subtle bugs.Multi-currency — Built-in support via
Amount,Wallet, and pluggableCurrencyConverter(ECB, static, one-to-one).
License¶
Roboquant is made available under the Apache 2.0 license. You can read more about the Apache 2.0 license on this page: https://
Disclaimer¶
Absolutely no warranty is implied with this product. Use at your own risk. I provide no guarantee that it will be profitable, or that it won’t lose all your money very quickly or does not contain bugs.
All financial trading offers the possibility of loss. Leveraged trading, may result in you losing all your money, and still owing more. Back tested results are no guarantee of future performance. I can take no responsibility for any losses caused by live trading using roboquant. Use at your own risk. I am not registered or authorised by any financial regulator.