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.30.tar.gz
(110.3 kB
view details)
Built Distribution
jgtpy-0.3.30-py3-none-any.whl
(119.9 kB
view details)
File details
Details for the file jgtpy-0.3.30.tar.gz
.
File metadata
- Download URL: jgtpy-0.3.30.tar.gz
- Upload date:
- Size: 110.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80cef3f94ea7680cc5c0237313e3d4006f1bfa488e4ccbf5ddac62a9f708593f |
|
MD5 | d490dc5b5b055d71af557a62dabc5bb2 |
|
BLAKE2b-256 | 936da50f3259dec67f714c5907a01b29d2abb00b1cc3d532608a31e7a252d1e6 |
File details
Details for the file jgtpy-0.3.30-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.3.30-py3-none-any.whl
- Upload date:
- Size: 119.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 | 98502987c868a983c188b738b981f79494cb7e30e49a651aae9caff7588d0401 |
|
MD5 | f419ed3c97883bed18f956c73df5506e |
|
BLAKE2b-256 | 8351319d953eeaf2e621770ea657df4b9df4fbe9e1d53aa4fb5aed55e04f6571 |