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.4.87.tar.gz
(135.6 kB
view details)
Built Distribution
jgtpy-0.4.87-py3-none-any.whl
(148.8 kB
view details)
File details
Details for the file jgtpy-0.4.87.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.87.tar.gz
- Upload date:
- Size: 135.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29be12829ed97835acda99577987f3083968b3aeb1a3568389aca038f4609f26 |
|
MD5 | b198c6289fb1b584d6e728d4da67f810 |
|
BLAKE2b-256 | f639bd89bf577d3d2b550022e64f0a85a512fcb177ec1469fb5de3760adabe17 |
File details
Details for the file jgtpy-0.4.87-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.87-py3-none-any.whl
- Upload date:
- Size: 148.8 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 | 2b029521e5ba8867027db3c8979e063fc083797167965d0de0a8746ca1ccd350 |
|
MD5 | e910328116be0b7eb35d672fff585b90 |
|
BLAKE2b-256 | 191f9290548414135d42480c9993a05755ad8311edad725bb5daaae271c6e511 |