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")
Metadata
Release files for pyfxgit 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyfxgit-0.1.1.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyfxgit-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / pyfxgit-0.1.1.tar.gz
| Download URL | pyfxgit-0.1.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac06041afa1072cfad0c9d39dcf38ee23194af8a9f73997c89eebfcff74dc477
|
|
BLAKE2b-256 checksum How to use checksums |
0ec7168d5b213a8176428d4c5dd44c2c815928b01d3bd6e5ef89364a5a17e1eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / pyfxgit-0.1.1-py3-none-any.whl
| Download URL | pyfxgit-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c8c5b4ebfee61bc765a08f60c8f1b3764b803168849f2fa12c181164b79e36a
|
|
BLAKE2b-256 checksum How to use checksums |
ec3be3f04fbb6a3196563516c01415c3c501addda35906c05e96d374c8c453a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|