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.8.tar.gz
(115.4 kB
view details)
Built Distribution
jgtpy-0.4.8-py3-none-any.whl
(126.7 kB
view details)
File details
Details for the file jgtpy-0.4.8.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.8.tar.gz
- Upload date:
- Size: 115.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 237003b3396427b267fcaf3735700ca2a4bf5003e3dd98718ae20ef90f3f385b |
|
MD5 | 4a93fe71eb4e759bb952112d934d6f69 |
|
BLAKE2b-256 | 60b5888f160495ee80ba1657e52a606a803f54fbfa062fe5a4d1d58fd9dc9141 |
File details
Details for the file jgtpy-0.4.8-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.8-py3-none-any.whl
- Upload date:
- Size: 126.7 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 | f502e01f9c9fffa4a8027c860f7401cdf483b189ccc4fe0c3a53594f2113c517 |
|
MD5 | c05dc8f15b346197b6b943d7a4a74549 |
|
BLAKE2b-256 | dfeac7ce0ce87ce989759e8e19a1a9364574f5daedfd928af3e4afc8815dfbf3 |