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.88.tar.gz
(135.7 kB
view details)
Built Distribution
jgtpy-0.4.88-py3-none-any.whl
(148.8 kB
view details)
File details
Details for the file jgtpy-0.4.88.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.88.tar.gz
- Upload date:
- Size: 135.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 690407c824fbd3324d29ddc8a75721938c9e0da1b29294e71b11574625f7e9c6 |
|
MD5 | 5b751f605841a8541594ec5048e81f0f |
|
BLAKE2b-256 | f7136149c1e77673dd75d6141d2f8d0ac4113185e41d320f70d16273ffaff934 |
File details
Details for the file jgtpy-0.4.88-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.88-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 | 96dd7e34115da24c05d165a614c520dd432b6cbe0af675863cd29be769aa3dbf |
|
MD5 | b1e14d3c57d116a842fdf6b3bff39c39 |
|
BLAKE2b-256 | 0fb635b4868bae8632dcbbcea008544148e415155db77778cd3ea5a697fea3e5 |