Enhanced JGTPy CDS, IDS, PDSP Services
Project description
jgtpy (pdsp/ids/cds)
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)
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.5.19.tar.gz
(137.0 kB
view details)
Built Distribution
jgtpy-0.5.19-py3-none-any.whl
(150.7 kB
view details)
File details
Details for the file jgtpy-0.5.19.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.19.tar.gz
- Upload date:
- Size: 137.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efad220bee3392ed46fd33e8d44c1a05509fad90d30faf4a4f0e09176b98b15a |
|
MD5 | 84abeec5d0247521421ec854a766d041 |
|
BLAKE2b-256 | 62622146503921933d829d84b96b2f4c64f66e44a1be9e1e42efad66165c5e2b |
File details
Details for the file jgtpy-0.5.19-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.19-py3-none-any.whl
- Upload date:
- Size: 150.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76e4a9201add40c2bdcbe3da1a6d2615ba61afe5eef837f9784eb8ca6c515707 |
|
MD5 | 447231bc09282f1218666128a43492c5 |
|
BLAKE2b-256 | 50f174865d00d9c0fbdb85c91e371845cd68b499a12831581333f6cb191feb59 |