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.90.tar.gz
(138.6 kB
view details)
Built Distribution
jgtpy-0.5.90-py3-none-any.whl
(152.9 kB
view details)
File details
Details for the file jgtpy-0.5.90.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.90.tar.gz
- Upload date:
- Size: 138.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d62b16b855126372644a51bf2730bea6dc948e6618b46f8e822f01555c6a3376 |
|
MD5 | 1716753e59ffc32bf42e3d66b3bc5d7e |
|
BLAKE2b-256 | b32fefdfe85e415261bfef1bf5ee98d00599d02d19032e21a07c131e60c3fdf1 |
File details
Details for the file jgtpy-0.5.90-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.90-py3-none-any.whl
- Upload date:
- Size: 152.9 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 | 6a5a6a7ba8f214f011b2e4bb4c99200a35a0b4679b365abc55cf3e0c5dda0dfd |
|
MD5 | 761c044bef3e0d906e2e200f2247ca67 |
|
BLAKE2b-256 | 8a696d23bebad39c26c61890fd1fc16865a8dcc23f0de067cb53db32ef517e18 |