26 best Python Foreign Exchange libraries in 2023
by weaver Updated: Sep 1, 2021
Guide Kit
When trading in Forex, it is important to develop a trading bot that makes risk management easy - since Forex involves high-level financial market data. Python is one of the most popular programming languages for Forex because it enables the API to be functionally separated to perform buying and selling operations. Python-based open-source software supports both backtesting and live trading operations to help the traders develop sound strategies for a Forex application. Python libraries also provide code for working with real-time currency exchange rates.
Below is a comprehensive list of the 26 best open-source python libraries for developing Forex algorithmic trading applications. If you are looking for a full-scale, event-driven library that transitions seamlessly from testing to live trading, then qsforex is for you. Yahoofinancials is a code package that enables you to pull data like indices, currencies, ETFs, etc. from Yahoo Finance. If you intend to trade in cryptocurrencies, bitex enables you to do that by using API classes without employing interface classes. Forex-python is a library that shows exchange rates and cyptocurrency price index using ratesapi.io.
yahoofinancialsby JECSand
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.
yahoofinancialsby JECSand
Python
739
Version:1.14
License: Permissive (MIT)
forex-pythonby MicroPyramid
Foreign exchange rates, Bitcoin price index and currency conversion using ratesapi.io
forex-pythonby MicroPyramid
Python
560
Version:v1.8
License: Permissive (MIT)
LSTM---Stock-predictionby jgpavez
A long term short term memory recurrent neural network to predict forex data time series
LSTM---Stock-predictionby jgpavez
Python
301
Version:Current
License: No License
Google-Search-APIby BirdAPI
Python based api for searching google web, images, calc, and currency conversion.
Google-Search-APIby BirdAPI
Python
214
Version:Current
License: No License
moneyby carlospalol
Python money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.
moneyby carlospalol
Python
223
Version:Current
License: Permissive (MIT)
Forex-DQNby noootown
Simple version of auto forex trader build upon the concept of DQN
Forex-DQNby noootown
Python
172
Version:Current
License: Strong Copyleft (GPL-3.0)
gym-fxby harveybc
Forex trading simulator environment for OpenAI Gym, observations contain the order status, performance and timeseries loaded from a CSV file containing rates and indicators. Work In Progress
gym-fxby harveybc
Python
187
Version:Current
License: No License
currencyconverterby alexprengere
A Python currency converter using the European Central Bank data.
currencyconverterby alexprengere
Python
181
Version:Current
License: Permissive (Apache-2.0)
TradingGymby cove9988
Trading Gym is an open source project for the development of reinforcement learning algorithms in the context of trading.
TradingGymby cove9988
Python
113
Version:Current
License: Permissive (MIT)
forex-rl-challengeby kayuksel
A Deep Reinforcement Learning Challenge on Forex Portfolio Management
forex-rl-challengeby kayuksel
Python
110
Version:Current
License: Strong Copyleft (GPL-3.0)
Forex-and-Stock-Python-Pattern-Recognizerby RiccardoM
A machine learning program that is able to recognize patterns inside Forex or stock data
Forex-and-Stock-Python-Pattern-Recognizerby RiccardoM
Python
106
Version:Current
License: Permissive (MIT)
django-money-ratesby evonove
Currency conversion for django money
django-money-ratesby evonove
Python
86
Version:0.1.0
License: Permissive (BSD-3-Clause)
Trading-Botby RaidasGrisk
Code for automated FX trading
Trading-Botby RaidasGrisk
Python
104
Version:Current
License: No License
intrinio-realtime-python-sdkby intrinio
Intrinio Python SDK for Real-Time Stock Prices
intrinio-realtime-python-sdkby intrinio
Python
80
Version:v4.2.1
License: Strong Copyleft (GPL-3.0)
alfred3-workflow-CurrencyXby plummm
Most convinent currencies converting tool for alfred3
alfred3-workflow-CurrencyXby plummm
Python
71
Version:v1.2
License: No License
currency-exchangeby daninfpj
Alfred workflow to convert between currencies
currency-exchangeby daninfpj
Python
52
Version:1.0.3
License: No License
django-exchangeby metglobal
Currency, exchange rate and conversions support for django projects.
django-exchangeby metglobal
Python
51
Version:Current
License: Permissive (MIT)
ImundboQuantby MikaelFuresjo
Machine learning in Python for stock market and forex market predictions (fully functional)
ImundboQuantby MikaelFuresjo
Python
45
Version:Current
License: Permissive (MIT)
mexbtcapiby goncalopp
The Multi-Exchange Bitcoin API offers a consistent high-level API across multiple bitcoin exchanges
mexbtcapiby goncalopp
Python
42
Version:Current
License: Others (Non-SPDX)
jiji-with-tensorflow-exampleby unageanu
Example of the forex trading system using Jiji and Tensorflow.
jiji-with-tensorflow-exampleby unageanu
Python
41
Version:Current
License: Permissive (MIT)
FinanceMarketDataGrabberby RedSpiderMkV
Use Yahoo Finance or Google's 'hidden' Finance APIs to retrieve current stock and forex data as well as historic quotes
FinanceMarketDataGrabberby RedSpiderMkV
Python
39
Version:Current
License: Permissive (MIT)
QuantConnect-Trading-Strategiesby ksjagtap
Forex & Equities Trading Strategies using Machine Learning, Deep Learning and Statistical Techniques
QuantConnect-Trading-Strategiesby ksjagtap
Python
32
Version:Current
License: Permissive (MIT)