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.3.15.tar.gz
(107.9 kB
view details)
Built Distribution
jgtpy-0.3.15-py3-none-any.whl
(116.9 kB
view details)
File details
Details for the file jgtpy-0.3.15.tar.gz
.
File metadata
- Download URL: jgtpy-0.3.15.tar.gz
- Upload date:
- Size: 107.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e52a62636883cae441b89d01071d4f4c108ea51de8227e02f5a932dbbeab0c1 |
|
MD5 | 5cbf2a37acb9c1364d51870110740bac |
|
BLAKE2b-256 | 41826cdfba9ad562d7902c430e332f7a9644b6645fcaf67c0e214793b1595cb9 |
File details
Details for the file jgtpy-0.3.15-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.3.15-py3-none-any.whl
- Upload date:
- Size: 116.9 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 | 32bcdafe7a230770aabc5cc2844329da72e7c55a57a8b0e4a8459d69018f4dc0 |
|
MD5 | 97420dbf65a9a672a48821586c48ac2f |
|
BLAKE2b-256 | 273e2d85c8c12268184e12eb4fd974f256d882615ad8e9745698a61e46f5ac39 |