Skip to main content

A simple quantitative finance package for algorithmic trading and financial analysis framework.

Project description

Mercury / Quantitative Finance Made Accessible.

Mercury is a core package used in Lycon project which is a platform for traders to use and employ Quantitative Finance in their trading. The tool is still a work in progress and so far only works with Binance APIs.

Example Usage

DISCLAIMER: this is just an example of how to interact with the llibrary, and it is not an example of a viable algorithm that can be used to trade for profit. Look at the Disclaimer section for more information on using this library to trade.

In the main.py file there's a short example algorithm which buys ETH when the RSI level is 40 or below, indicating that the asset may be oversold, and sells the bought ETH when the RSI level is 60 or above.

Features

The package has many features including:

  • Price Acquisition: The library has the code required to obtain historic data and update it as live data comes in.
  • Indicator Calculation: The package contains all the needed functions and routines to calculate indicators for a given security.
  • Basic Algorithmic Trading: By using simple functions you can define parameters for the bot to trade automatically based on market conditions.

For the future

The future plans for the bot includes but not limited to:

  • Adding various other indicators,
  • Adding support for other exchanges,
  • Improving runtime routines to be more robust,
  • Implement more advanced algorithms,
  • Implement more statistical analysis tools.

Updates and more information

I will post regulat updates on the development of the project on my website in its designated section here and on my LinkedIn as reposts from the company page here.

Licensing

The software is licensed under the Mozilla Public License Version 2.0. Details of the licensing can be found under the LICENCE file.

The software is provided in "as is" basis, with no warranty or liability. More information on the license file.

Disclaimer

This is an on-going project with only one developer managing it. As of now, the code in this repository is not meant for production. Malfunctions and bugs are expected. Use this code at you own risk, the author of this code is not responsible for any damages or losses.

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

mercuryframework-0.1.5.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

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

mercuryFramework-0.1.5-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file mercuryframework-0.1.5.tar.gz.

File metadata

  • Download URL: mercuryframework-0.1.5.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for mercuryframework-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d7af0d46864b3d40b6a85bdb9065bf1f65b9ffa7952028a64a2012d720677b9a
MD5 21d587d822c5d02b86b840adad7e3028
BLAKE2b-256 8d143ff61e5df6d5c1f7ef130d1ea475d1e3a8672e318c0ff0d255805285b132

See more details on using hashes here.

File details

Details for the file mercuryFramework-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for mercuryFramework-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d867fd4e845aea08b6c1781f7d8f08ee69df45cf5ab9b8701c30dccf1da4029f
MD5 72fff59f8fc1674b65eb439d7fd2e7ba
BLAKE2b-256 2a967a24cd0d8558e53fd752d49ef4b6849e4d9c16d4e0410bd0888e2dde986c

See more details on using hashes here.

Supported by

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