Skip to main content

Basic Forex classes

Project description


Class models for Eight major Forex Currency Pairs.

Brief Description

This is not an API to any forex data. Instead it is a set of classes that I have found myself using in multiple different forex related applications that represent things like currency pairs, curriencies, prices and so forth, plus some basic functionality inside and between them, such as expressing difference of prices in pips and calculating the profit/loss of a trade and so forth.


  1. Ony the eight major currencies are supported, namely the AUD, CAD, CHF, EUR, GBP, JPY, NZD and USD. From these there are 28 currency pairs. If you are looking to trade more exotic currencies or cyber-currencies, this package is the wrong one.
  2. This is not anywhere near production grade (it doesn't even have unittesting yet). It is a side project which I do not have a lot of time to work on, and it is not likely to be well supported in the foreseeable future.

Project details

Download files

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

Source Distribution

forex-types-0.0.1.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

forex_types-0.0.1-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page