Python Forex

Open-source Python projects categorized as Forex

Top 18 Python Forex Projects


    :mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python.

    Project mention: Python developers -- what broker and api do you use? | /r/algotrading | 2023-06-08

    We chose for a backtesting framework. There are several to choose from but that one seems like the most well-supported and actively worked on at the moment.

  • gym-anytrading

    The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • nautilus_trader

    A high-performance algorithmic trading platform and event-driven backtester

    Project mention: Is NautilusTrader compatible with MetaTrader5 Python Package? | /r/algotrading | 2023-06-21

    I recently found NautilusTrader. According to NautilusTrader, it can be integrated with Brokers/Exchange that provides REST, WebSocket or FIX API. Not sure if there is a work around to integrate MetaTrader5 Python to NautilusTrader.

  • yahoofinancials

    A powerful financial data module used for pulling data from Yahoo Finance. This module can pull fundamental and technical data for stocks, indexes, currencies, cryptos, ETFs, Mutual Funds, U.S. Treasuries, and commodity futures.

    Project mention: yahoofinancials: NEW Alternative Finance - star count:791.0 | /r/algoprojects | 2023-08-27
  • AutoTrader

    A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.

    Project mention: Looking for open source Python code for deep learning model to optimize portfolio | /r/algotrading | 2022-12-22
  • PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop

    Open Source Trading Strategies & End-to-End solution connecting Metatrader4 & Metatrader5 💹 with Python with a simple drag and drop EA. Fully tested bug free & efficient solution for live & paper trading⭐ Full Documentation ready. Lightweight, efficient and stable implementation 🔥

    Project mention: PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop: NEW Extended Research - star count:401.0 | /r/algoprojects | 2023-01-07
  • lumibot

    Backtesting and Trading Bots Made Easy for Crypto, Stocks, Options, Futures, FOREX and more

    Project mention: lumibot: NEW Derivatives and Hedging - star count:319.0 | /r/algoprojects | 2023-02-12
  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

  • Auto-GPT-MetaTrader-Plugin

    The AutoGPT MetaTrader Plugin is a software tool that enables traders to connect their MetaTrader 4 or 5 trading account to Auto-GPT.

    Project mention: Weekly Megathread | /r/AITechTips | 2023-05-05 - a software tool that enables traders to connect their MetaTrader 4 or 5 trading account to Auto-GPT.

  • gym-mtsim

    A general-purpose, flexible, and easy-to-use simulator alongside an OpenAI Gym trading environment for MetaTrader 5 trading platform (Approved by OpenAI Gym)

    Project mention: Incorporating Leverage in a Vectorbt Backtest (Crypto/Binance Futures) | /r/algotrading | 2022-09-27 might be an option.

  • twelvedata-python

    Twelve Data Python Client - Financial data API & WebSocket

    Project mention: twelvedata-python: NEW Data - star count:281.0 | /r/algoprojects | 2023-04-29
  • oandapyV20-examples

    Examples demonstrating the use of oandapyV20 (oanda-api-v20)

  • FXBot

    A fully automated Forex trading bot utilizing the OANDA API.

    Project mention: FXBot: NEW Extended Research - star count:92.0 | /r/algoprojects | 2023-02-25
  • forx

    💰a command line tool for checking exchange rates between currencies, both crypto and fiat.

  • paper_trading_view

    PTV is a useful widget for trading view for doing paper trading when bar reply is enabled.(this feature did not implement in trading view)

  • JackrabbitRelay

    Jackrabbit Relay is an API endpoint for cryptocurrency/forex exchanges.

    Project mention: Python Trading Bot with TradingView and Binance | /r/TradingView | 2023-06-24
  • Wizardry

    💫 Wizardry is an open-source CLI for building powerful algorithmic trading strategies 交易框架 (by ssantoshp)

  • cTraderFixPy

    A Python package for interacting with cTrader FIX API.

  • stonktrack

    Terminal utility tracking stocks, cryptocurrencies, and forex. Built with urwid.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-08-27.

Python Forex related posts


What are some of the best open-source Forex projects in Python? This list will help you:

Project Stars
1 4,068
2 gym-anytrading 1,780
3 nautilus_trader 1,086
4 yahoofinancials 803
5 AutoTrader 690
6 PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop 531
7 lumibot 445
8 Auto-GPT-MetaTrader-Plugin 362
9 gym-mtsim 328
10 twelvedata-python 312
11 oandapyV20-examples 133
12 FXBot 128
13 forx 55
14 paper_trading_view 46
15 JackrabbitRelay 42
16 Wizardry 38
17 cTraderFixPy 26
18 stonktrack 2
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.