26 best Python Foreign Exchange libraries in 2023
by weaver Updated: Sep 1, 2021
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.
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.
Python 719 Version:1.13 License: Permissive (MIT)
Foreign exchange rates, Bitcoin price index and currency conversion using ratesapi.io
Python 550 Version:v1.8 License: Permissive (MIT)
A long term short term memory recurrent neural network to predict forex data time series
Python 301 Version:Current License: No License
Python based api for searching google web, images, calc, and currency conversion.
Python 214 Version:Current License: No License
Python money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.
Python 196 Version:Current License: Permissive (MIT)
Simple version of auto forex trader build upon the concept of DQN
Python 172 Version:Current License: Strong Copyleft (GPL-3.0)
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
Python 187 Version:Current License: No License
A Python currency converter using the European Central Bank data.
Python 176 Version:Current License: Permissive (Apache-2.0)
Trading Gym is an open source project for the development of reinforcement learning algorithms in the context of trading.
Python 113 Version:Current License: Permissive (MIT)
A Deep Reinforcement Learning Challenge on Forex Portfolio Management
Python 110 Version:Current License: Strong Copyleft (GPL-3.0)
A machine learning program that is able to recognize patterns inside Forex or stock data
Python 106 Version:Current License: Permissive (MIT)
Currency conversion for django money
Python 86 Version:0.1.0 License: Permissive (BSD-3-Clause)
Code for automated FX trading
Python 77 Version:Current License: No License
Intrinio Python SDK for Real-Time Stock Prices
Python 80 Version:v4.2.1 License: Strong Copyleft (GPL-3.0)
Most convinent currencies converting tool for alfred3
Python 71 Version:v1.2 License: No License
Alfred workflow to convert between currencies
Python 52 Version:1.0.3 License: No License
Currency, exchange rate and conversions support for django projects.
Python 51 Version:Current License: Permissive (MIT)
Machine learning in Python for stock market and forex market predictions (fully functional)
Python 45 Version:Current License: Permissive (MIT)
The Multi-Exchange Bitcoin API offers a consistent high-level API across multiple bitcoin exchanges
Python 42 Version:Current License: Others (Non-SPDX)
Example of the forex trading system using Jiji and Tensorflow.
Python 41 Version:Current License: Permissive (MIT)
Use Yahoo Finance or Google's 'hidden' Finance APIs to retrieve current stock and forex data as well as historic quotes
Python 39 Version:Current License: Permissive (MIT)
Forex & Equities Trading Strategies using Machine Learning, Deep Learning and Statistical Techniques
Python 32 Version:Current License: Permissive (MIT)