forexflaggr
A minimal package to pull and analyze financial (forex) data.
Getting started
Installation
Install the latest version of forexflaggr with pip:
pip install forexflaggr
or directly from the source code:
pip install git+https://github.com/ZachWolpe/forexflaggr.git
If the API fails to return data unexpectedly, it may be due to the yahoo finance cache. Empty the cache with:
pip install yfinance --upgrade --no-cache-dir
Usage
Import the package:
import forexflaggr as fxr
key functions:
fxr.ForexFlaggr().fetch_data(): fetches data from yahoo finance.`fxr.ForexFlaggr().plot_data(): plots data`fxr.ForexFlaggr.get_price(ff): returns the price of a given currency pair`.fxr.pie_chart_recommendation.plot_pie_recommendation(): plot a recommendation pie chart.fxr.LOESS_Model(X, y): returns a LOESS model.fxr.GAM_Model(X, y): returns a GAM model.
See a complete example usage in ./examples/forexflaggr_runtime.ipynb
Off-the-shelf
For an off-the-shelf USD/ZAR analysis solution in the form of an html doc, run:
import forexflaggr as fxr
fxr.build_html()
Metadata
Release files for forexflaggr 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| forexflaggr-0.0.6.tar.gz | 11.6 kB | Without provenance | Details for forexflaggr-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| forexflaggr-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for forexflaggr-0.0.6-py3-none-any.whl |
Total release size: 25.7 kB
Release files / forexflaggr-0.0.6.tar.gz
| Download URL | forexflaggr-0.0.6.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c348cf4ba46f2c23a734866d839a0b48d537bdb81eb89ac7ca97f88440eeeef
|
|
BLAKE2b-256 checksum How to use checksums |
8851953561290095b878c1d3ad6782d1b7408497ef54c4138483b2d2724da6b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Release files / forexflaggr-0.0.6-py3-none-any.whl
| Download URL | forexflaggr-0.0.6-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1f337ee33ee775bfcc6b98233576f44e902594c65709d816104f529e8adca0c
|
|
BLAKE2b-256 checksum How to use checksums |
87ae0134f443f7409a88e4039f3cb5e4b2048fc0edcdcbfbf4778dba87350e0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Security for forexflaggr 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.