Enhanced JGTPy CDS, IDS, PDSP Services
Project description
jgtpy (ids)
Enhanced JGTPy CDS, IDS, PDS Services
Installation
pip install -U jgtpy
Example
>>> import pandas as pd
>>> import jgtpy
>>> df=jgtpy.getPH('EUR/USD','H4')
>>>
>>> # retrieve 3000 periods and generate from the DF
>>> df=jgtpy.getPH('EUR/USD','H4',3000,with_index=False)
>>> dfi=jgtpy.createFromDF(df)
>>>
>>> # Create with Timerange
>>> start="11.17.2022 00:00:00"
>>> end="11.25.2022 00:00:00"
>>> df=jgtpy.createByRange("USD/CAD","m15",start,end)
>>>
>>> # offsets date for retreival
>>> dtfirst_with_offset=jgtetl.svc_offset_dt_by_tf(dtfirst,ctx.timeframe)
>>> df=createByRange(ctx.instrument,ctx.timeframe,dtfirst_with_offset,dtlast)
More
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jgtpy-0.2.219.tar.gz
(41.9 kB
view details)
Built Distribution
jgtpy-0.2.219-py3-none-any.whl
(50.9 kB
view details)
File details
Details for the file jgtpy-0.2.219.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.219.tar.gz
- Upload date:
- Size: 41.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c44bffbce2407d57f35b2458532ead4745c9b302697a6e1b764e0d425285f53 |
|
MD5 | ea3a28a076d9ec6fbdde7d1cd32a3aeb |
|
BLAKE2b-256 | e2471f42f0277ffdcdee0fb637b1b31342a4ce6c2e0132ecc26da3c24aba1d9e |
File details
Details for the file jgtpy-0.2.219-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.219-py3-none-any.whl
- Upload date:
- Size: 50.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1886ff21716f537cdd3fdbfb8b5a5d3e1369fff2d08f649acd8038b3bb382b15 |
|
MD5 | 9a85444bf6b4e859b500609b772a165c |
|
BLAKE2b-256 | 4150f0ca369ee7a448d140c16ccda26a3534c77c9a347fcaa597bc874e3c3209 |