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.43.tar.gz
(125.2 kB
view details)
Built Distribution
jgtpy-0.4.43-py3-none-any.whl
(139.7 kB
view details)
File details
Details for the file jgtpy-0.4.43.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.43.tar.gz
- Upload date:
- Size: 125.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 292dca4dc99b78d0c1e3585c21ef73d43f9448fbd307eda73ca1efc7938abcfe |
|
MD5 | bb1d9920ea35d89e99c67bd2949a98f9 |
|
BLAKE2b-256 | dde0c4536ff08f6287d6b5aa07be3f16871101adf0484cb0b93b5edaf1aead34 |
File details
Details for the file jgtpy-0.4.43-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.43-py3-none-any.whl
- Upload date:
- Size: 139.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cfbccfcc0f5be554fbc778d27da83db98155f6947768f216480397c2bfa95e3 |
|
MD5 | 4002e84146805a7bd9d18832c1c4b969 |
|
BLAKE2b-256 | 7414b3562d33c151966a17dc559f8d51d0c43907a57819909e03e903f8484deb |