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.5.30.tar.gz
(136.8 kB
view details)
Built Distribution
jgtpy-0.5.30-py3-none-any.whl
(150.6 kB
view details)
File details
Details for the file jgtpy-0.5.30.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.30.tar.gz
- Upload date:
- Size: 136.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f754e89e3b7505a0dadd597ab0799b14668c01d40021c65b41f05647ead86610 |
|
MD5 | b22b3631d071ef9fa40c8d5c31d630e1 |
|
BLAKE2b-256 | f8a3d6db8293c408f0f14e890a110e3bca6ed829717c780814099ea204f452c1 |
File details
Details for the file jgtpy-0.5.30-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.30-py3-none-any.whl
- Upload date:
- Size: 150.6 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 | ea62412d078a0d15ff8d61708647d85fa9ee7ecf9822e076f33c028473ffd671 |
|
MD5 | 180f31d9c3a84ed47888625e097beaa5 |
|
BLAKE2b-256 | dbb9e93ef1016c393d5eb38d8498361d0e3afce96f494c612aaef174659aed77 |