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.20.tar.gz
(137.0 kB
view details)
Built Distribution
jgtpy-0.5.20-py3-none-any.whl
(150.7 kB
view details)
File details
Details for the file jgtpy-0.5.20.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.20.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 | 5044300326f30d5c1cc25a32aa941f69486b7bcd6daf4384b7b0370af7e3d3ec |
|
MD5 | eb8f45ba8c9b95b1f7cc258e437825a8 |
|
BLAKE2b-256 | b03a30ee941a93a9f0d97870f79103d1783285592b42f165ac11066a9815fb3e |
File details
Details for the file jgtpy-0.5.20-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.20-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 | 9d9637f8ea0cd7f06660c98de7804a07d6eac9d380b985872b6d9ed535befd7a |
|
MD5 | b0614b7ced7fb93959ef1a1f8bf2e723 |
|
BLAKE2b-256 | 7c684f05ca3dcffb520d219c70b8ee46e548ea64521293946e623f22b7ac3043 |