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.8.tar.gz
(137.2 kB
view details)
Built Distribution
jgtpy-0.5.8-py3-none-any.whl
(150.9 kB
view details)
File details
Details for the file jgtpy-0.5.8.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.8.tar.gz
- Upload date:
- Size: 137.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e2b4fafe986d12aeb207e3ddfaca3dafe8ea578e1f2923030915a5f362d514a |
|
MD5 | eb639727a9c354230d941733cf2cad8d |
|
BLAKE2b-256 | d8a9bea67366abdeb70d9d7ae4440731932b082418772257da75bc5ad14c1e2f |
File details
Details for the file jgtpy-0.5.8-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.8-py3-none-any.whl
- Upload date:
- Size: 150.9 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 | e2914ca6db80a667fa2e5a2f4b10be6c2817d816a854efd15e13fc2d53e3fc0f |
|
MD5 | 40a5ac8644b996c3c26e9048d29d2389 |
|
BLAKE2b-256 | 656d989cb3ae8c5b31a35353cf27e23baaa1fb567d6cf923836f0a4948b0623e |