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.40.tar.gz
(136.9 kB
view details)
Built Distribution
jgtpy-0.5.40-py3-none-any.whl
(150.7 kB
view details)
File details
Details for the file jgtpy-0.5.40.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.40.tar.gz
- Upload date:
- Size: 136.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ffa268ee5661c2e8d8e042510bb3dae08500b4a5a51841d01cd9c5b4fd56b9c |
|
MD5 | f7c3f401f157973136861607f4dbcef4 |
|
BLAKE2b-256 | 3f08247260e98c461091d4981dd8041a9c89a826bcf13965813b92288f85e2da |
File details
Details for the file jgtpy-0.5.40-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.40-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 | ed6148bc0788d4044298c2b5ca768fc1bf99f1f7c2b3c104e0913c1864393ac9 |
|
MD5 | 793d22c941004ccc3070e0d7234718fc |
|
BLAKE2b-256 | fb3a44d5d334e05ab4649d571e8d5f5a7b933d07d1e24c30e5ba10f625ec8934 |