Skip to main content

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.

Release files for mercuryFramework 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mercuryFramework 0.1.8
File Size Uploaded
mercuryframework-0.1.8.tar.gz 19.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mercuryFramework 0.1.8
File Interpreter ABI Platform
mercuryframework-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size:36.5 kB

Release files / mercuryframework-0.1.8.tar.gz

Download URL mercuryframework-0.1.8.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
061e98053dd0126dc3dc797aab9fb73b2eabb808e249c63190d16ae1a16076a9
BLAKE2b-256 checksum
How to use checksums
6162848197ada29bfe059f33c484fef1492f568cbc16e0385c6b33645d04c206
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.1

Release files / mercuryframework-0.1.8-py3-none-any.whl

Download URL mercuryframework-0.1.8-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4228507c7ff94e70179b8ed1f5a6732fa3433a2bf9c24d683869279d05309bde
BLAKE2b-256 checksum
How to use checksums
7b25540a0e40b9af35527d6bb62faf19ce2fb7804acf392d676164628345478a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page