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.22.tar.gz
(136.8 kB
view details)
Built Distribution
jgtpy-0.5.22-py3-none-any.whl
(150.6 kB
view details)
File details
Details for the file jgtpy-0.5.22.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.22.tar.gz
- Upload date:
- Size: 136.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56a92bee634087cb69543812c875ffdff6f5e525b5c6c3c46960e37a6577909f |
|
MD5 | e1e944f4db69dd9fd05c14a12024c68f |
|
BLAKE2b-256 | 2cd6ee772ea40691b2ff082032167b9429774413945f511d552d9551e55bc5d3 |
File details
Details for the file jgtpy-0.5.22-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.22-py3-none-any.whl
- Upload date:
- Size: 150.6 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 | df6f1c6bd5b59981e1c81d038a84b65db20e9100a72a279a4e7177606810dbbb |
|
MD5 | 9bf76ca16fe468eea521d4c7ff91f7af |
|
BLAKE2b-256 | fe00f5ae7fb481463c0bee25f2dfc6397ee410d52d5f678c24d5312467f65691 |