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.86.tar.gz
(135.0 kB
view details)
Built Distribution
jgtpy-0.4.86-py3-none-any.whl
(148.0 kB
view details)
File details
Details for the file jgtpy-0.4.86.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.86.tar.gz
- Upload date:
- Size: 135.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b4aaa6857674c3ffd0b987e67190a5c38a92bf7eb91ef5dafbd8848a647e42a |
|
MD5 | 53440b6d7a5da7f291cbb8110f534aa1 |
|
BLAKE2b-256 | 241ceec3ee2baab58c20edc1917c57a7508bc5da2511b196b92a1c26e68b6ba7 |
File details
Details for the file jgtpy-0.4.86-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.86-py3-none-any.whl
- Upload date:
- Size: 148.0 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 | 6a1899b25a7e20f79d75181c3c0d03fb991eccedfdb7308d77791d9b57a40330 |
|
MD5 | bb44e60473254777947faad1330a9862 |
|
BLAKE2b-256 | 2da70ee4b57798f16c13198170cb79ef0488d7c936257ec61ee6003bbcbb9c82 |