Enhanced JGTPy CDS, IDS, PDSP Services
Project description
jgtpy (ids)
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)
More
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.15.tar.gz
(117.7 kB
view details)
Built Distribution
jgtpy-0.4.15-py3-none-any.whl
(129.3 kB
view details)
File details
Details for the file jgtpy-0.4.15.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.15.tar.gz
- Upload date:
- Size: 117.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 698f18bdfddb1f6fef749c89e45c3323b5525bea873c517e2a135e9d5ff23b5a |
|
MD5 | 2af35e397cbb7b1af33d37731e8a5b8b |
|
BLAKE2b-256 | b466006ba599087639c31ffd80642fe76eaaa49ddebd1770d326cf086a0f519d |
File details
Details for the file jgtpy-0.4.15-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.15-py3-none-any.whl
- Upload date:
- Size: 129.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2a896e5e0034839493cc93786ad94d82855f60b929cc8d593977f98e783ce82 |
|
MD5 | e9cc9aa45634a308e8db647c1c7d561e |
|
BLAKE2b-256 | 917689cef758ba6003d982f34b733ffe9640bd143008da857486b3db07a3bc8f |