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.4.90.tar.gz
(135.7 kB
view details)
Built Distribution
jgtpy-0.4.90-py3-none-any.whl
(148.8 kB
view details)
File details
Details for the file jgtpy-0.4.90.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.90.tar.gz
- Upload date:
- Size: 135.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a242bd17762425976d0f90dab8d372bdc604ebbc7d9e9a7ed04c03a098ea2147 |
|
MD5 | 31b8fa24e88133b78fa07cce1fa9272f |
|
BLAKE2b-256 | b68561081a4676808e45bf55a459936fb7df4aece1a4300df5a8f9761f353ba4 |
File details
Details for the file jgtpy-0.4.90-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.90-py3-none-any.whl
- Upload date:
- Size: 148.8 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 | 39e1b6b60d9bef8edc6687904543ee9ce01312fb8a035141cf1db246d629ccfc |
|
MD5 | 8b53b1fad8b47ddef0c04539db9e763e |
|
BLAKE2b-256 | a38c2be8d47264fa8137f30f1c9ac3701abc560b6e3c34c02acaf828833596d5 |