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.3.21.tar.gz
(108.3 kB
view details)
Built Distribution
jgtpy-0.3.21-py3-none-any.whl
(117.3 kB
view details)
File details
Details for the file jgtpy-0.3.21.tar.gz
.
File metadata
- Download URL: jgtpy-0.3.21.tar.gz
- Upload date:
- Size: 108.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5183a5ed63d476682425e71d5bcf587e79b8a11907bfe3b40dc96d90ebe2823 |
|
MD5 | 5bd5be8a8ca866c59947edec2533c5bc |
|
BLAKE2b-256 | 75831497013760aa337b983e1ea4b5fed113b77fbbd0917b64ba87f5f41f50bb |
File details
Details for the file jgtpy-0.3.21-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.3.21-py3-none-any.whl
- Upload date:
- Size: 117.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 878fea23e7d65ea9a24b6bf349e433b08384952a92ae70a8931a719aa613e076 |
|
MD5 | 20d5d2f0a8c94f55947b4866febea711 |
|
BLAKE2b-256 | dcb08536813c4e0edde03f452f7e0e0079fec1ed252ecb6ef7c9eaf07f651f18 |