Skip to main content

roboquant logo

PyPI - Version PyPI - License PyPI - Python Version GitHub Actions Workflow Status discord

Roboquant is an open-source algorithmic trading platform written in Python. It is flexible, user-friendly and completely 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. You can find out more at roboquant.

Usage

The following code snippet shows the required steps to run a back-test on a number of stocks.

import roboquant as rq

feed = rq.feeds.YahooFeed("JPM", "IBM", "F", "TSLA")
strategy = rq.strategies.EMACrossover()
account = rq.run(feed, strategy)
print(account)

Features

Below are some of the key features of roboquant:

  • fast back testing and live trading
  • AI/ML based strategies
  • 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
  • modular and extensible

Install

Roboquant can be installed like most other Python packages, using tools like uv, pip or conda. Make sure you have Python version 3.12 or higher installed.

pip install roboquant

The core installation of roboquant limits the number of dependencies. But you can install roboquant including one or more of the optional dependencies if you require certain additional functionality:

# Integration with IBKR, Alpaca and Crypto exchanges
pip install "roboquant[extra]"

# AI based strategies using PyTorch and SB3
pip install "roboquant[ai]"

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://www.apache.org/licenses/LICENSE-2.0.html

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 authorized by any financial regulator.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roboquant-2.8.0.tar.gz (744.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

roboquant-2.8.0-py3-none-any.whl (770.5 kB view details)

Uploaded Python 3

File details

Details for the file roboquant-2.8.0.tar.gz.

File metadata

  • Download URL: roboquant-2.8.0.tar.gz
  • Upload date:
  • Size: 744.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for roboquant-2.8.0.tar.gz
Algorithm Hash digest
SHA256 74f7bcf92954d608ec5f4297127066bbdcb00617e16990a42f0bd508107720d2
MD5 11632b03a06de4dfdcd48e78a0d3215c
BLAKE2b-256 67eece85637f8e0e220cb7df250411a3d3accd5088efc2df9658d7eaef6f2ca4

See more details on using hashes here.

File details

Details for the file roboquant-2.8.0-py3-none-any.whl.

File metadata

  • Download URL: roboquant-2.8.0-py3-none-any.whl
  • Upload date:
  • Size: 770.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for roboquant-2.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e258858d9d397bb0e2ed481127c425cfedd14e9cb21d9fd5fa3b5aa4cee41fc
MD5 c79ca84556f39d673b67339d0c5c0b81
BLAKE2b-256 e6891c7c8b1585bdd36744cbf55d5cb1fcc5a212e67ad37e17b2306414786948

See more details on using hashes here.

Release history Release notifications | RSS feed

2.8.2

2 files

2.8.1

2 files

This release

2.8.0 This release

2 files

2.7.1

2 files

2.7.0

2 files

2.6.7

2 files

2.6.6

2 files

2.6.4

2 files

2.6.1

2 files

2.6.0

2 files

2.5.4

2 files

2.5.3

2 files

2.5.1

2 files

2.5.0

2 files

2.4.2

2 files

2.4.1

2 files

2.4.0

2 files

2.3.4

2 files

2.3.3

2 files

2.3.2

2 files

2.3.1

2 files

2.2.0

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.1

2 files

2.0.0

2 files

1.9.12

2 files

1.9.11

1 file

1.9.10

2 files

1.9.8

2 files

1.9.7

2 files

1.9.6

2 files

1.9.4

2 files

1.9.3

2 files

1.9.2

2 files

1.9.1

2 files

1.9.0

2 files

1.8.6

2 files

1.8.5

2 files

1.8.4

2 files

1.8.2

2 files

1.8.1

2 files

1.8.0

2 files

1.7.0

2 files

1.6.3

2 files

1.6.2

2 files

1.6.1

2 files

1.6.0

2 files

1.5.1

2 files

1.5.0

2 files

1.4.0

2 files

1.3.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

0.9.13

2 files

0.9.12

2 files

0.9.11

2 files

0.9.10

2 files

0.9.9

2 files

0.9.8

2 files

0.9.7

2 files

0.9.6

2 files

0.9.5

2 files

0.9.3

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.2

2 files

0.8.0

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.6

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page