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.29.tar.gz
(136.9 kB
view details)
Built Distribution
jgtpy-0.5.29-py3-none-any.whl
(150.7 kB
view details)
File details
Details for the file jgtpy-0.5.29.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.29.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 | 8d31dcc509b4a71a4fb5a6c25170bf5f56934b286ee7d909b71aaeeb05882c8b |
|
MD5 | c669bd6a7452559c84bd598d7f78db0c |
|
BLAKE2b-256 | 46aa8a9f2607b9d9acc17677f20ebd278da51789b9cc407128306eb36b929246 |
File details
Details for the file jgtpy-0.5.29-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.29-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 | e86e052986cb7816609a47ef280fba38833e0e7fe3627a8d6d5b703d237f6c18 |
|
MD5 | 54c41a43dc8d3174590cc8d0d16c4d57 |
|
BLAKE2b-256 | 978d407cdf2641c16cdd3ed1b271b913c587567aa1382e8cc36db8a3ecead218 |