Enhanced JGTPy CDS, IDS, PDS Services
Project description
jgtpy
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.1.72.tar.gz
(55.1 kB
view details)
Built Distribution
jgtpy-0.1.72-py3-none-any.whl
(15.0 MB
view details)
File details
Details for the file jgtpy-0.1.72.tar.gz
.
File metadata
- Download URL: jgtpy-0.1.72.tar.gz
- Upload date:
- Size: 55.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edb55abae94d2b431684a4c9c658d56b7c686e22f88f8cff04d621ca6c70ae1a |
|
MD5 | 84e61f9d18d93f46e638d6b5f8b648ff |
|
BLAKE2b-256 | a0db60533ff287692563eec89d950409014e60ffcbeee594916cf64ff8fa3b9f |
File details
Details for the file jgtpy-0.1.72-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.1.72-py3-none-any.whl
- Upload date:
- Size: 15.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2798b8766503f1f4f7229c31b10a79052b6d9cc572016e44720eff6e7139e2e0 |
|
MD5 | 04a8c47ffbfc5b163db6816e3c6a133e |
|
BLAKE2b-256 | bb696ffd7c27269f01e3452093d68e83ddc890769f606cbc0b2f634805ef8897 |