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.59.tar.gz
(137.5 kB
view details)
Built Distribution
jgtpy-0.5.59-py3-none-any.whl
(151.4 kB
view details)
File details
Details for the file jgtpy-0.5.59.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.59.tar.gz
- Upload date:
- Size: 137.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b124145498fb737eacb61db66e6eb97e9611d15c26ce870db121ac09d1fab1f |
|
MD5 | 87729a67559cc9c90013dc1a210dcba0 |
|
BLAKE2b-256 | af9ecc813632ce5adf134f44236ce29524bee4c6007a2aed003c0b5db7225b81 |
File details
Details for the file jgtpy-0.5.59-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.59-py3-none-any.whl
- Upload date:
- Size: 151.4 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 | ed1f56a31beb2e4d912bd35c2335cc9c8e5d92937a8d815de31336137332ae10 |
|
MD5 | acb88552d106cc749329eae83ba52848 |
|
BLAKE2b-256 | 45308e870c0cf40fcc0f3c0d8109fc1339c7bff75055bc7d697686cd66ecc0c8 |