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.46.tar.gz
(137.0 kB
view details)
Built Distribution
jgtpy-0.5.46-py3-none-any.whl
(150.8 kB
view details)
File details
Details for the file jgtpy-0.5.46.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.46.tar.gz
- Upload date:
- Size: 137.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1f2980fb9bc05aed28174a6eaaa46879eff2c61721cb6fbaa152cc518b94924 |
|
MD5 | 8a6c7cf76b88652ce126a073d26786f3 |
|
BLAKE2b-256 | 88518df8992f51d5146b56d169412fc814a5c9a8727015cc022db090f2184397 |
File details
Details for the file jgtpy-0.5.46-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.46-py3-none-any.whl
- Upload date:
- Size: 150.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 | f4ea314df8390391e38488476499b8e5ac2dadb5052b29b78936cca0a9accbf2 |
|
MD5 | e64c46880f163a428583c827f7d22e67 |
|
BLAKE2b-256 | 52e80ab841287484cab72efde978a57410fbc8d0f9238b8a2af1664b3919e555 |