This is a package of helper classes and libraries.
Project description
pyfxgit
This is a package of helper classes and libraries.
Author
Installation
$ pip install pyfxgit
Example
from pyfxgit.ChartCls import ChartCls
Getting Data
Note: Variable data is of type DataFrame that consists of columns ['Open', 'High', 'Low', 'Close', 'Dbs', 'DbsMa'].
Add indicator charts
chart = ChartCls(data, intSub=2)
chart.BuildOscillator(1, data['Dbs'], intUpper=3, intLower=-3, strTitle="Dbs")
chart.BuildOscillator(0, data['DbsMa'], intUpper=3.75, intLower=-3.75, strTitle="DbsMa")
Build tags
lstTag = chart.BuildOscillatorTag(data, 'DbsMa', 3.75)
Add spans to main chart
chart.MainAddSpan(data['Tag'], lstTag[lstTag>0], 0.2, 'red')
chart.MainAddSpan(data['Tag'], lstTag[lstTag<0], 0.2, 'green')
Build main chart
chart.BuildMain(strTitle="SPY")
Save chart
chart.save("Dbs")
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
pyfxgit-0.1.1.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyfxgit-0.1.1.tar.gz.
File metadata
- Download URL: pyfxgit-0.1.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac06041afa1072cfad0c9d39dcf38ee23194af8a9f73997c89eebfcff74dc477
|
|
| MD5 |
cf9d09591c784563a1a6adb772055e16
|
|
| BLAKE2b-256 |
0ec7168d5b213a8176428d4c5dd44c2c815928b01d3bd6e5ef89364a5a17e1eb
|
File details
Details for the file pyfxgit-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pyfxgit-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c8c5b4ebfee61bc765a08f60c8f1b3764b803168849f2fa12c181164b79e36a
|
|
| MD5 |
3df35f9761347af2f98db9a709f60357
|
|
| BLAKE2b-256 |
ec3be3f04fbb6a3196563516c01415c3c501addda35906c05e96d374c8c453a0
|