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.14.tar.gz
(137.3 kB
view details)
Built Distribution
jgtpy-0.5.14-py3-none-any.whl
(151.1 kB
view details)
File details
Details for the file jgtpy-0.5.14.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.14.tar.gz
- Upload date:
- Size: 137.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7d9edd18a6dad337fe84b25af44e69c194601c70d07d71c90d03548513fb12f |
|
MD5 | 8513bb6edf87e035cd3969b436b22575 |
|
BLAKE2b-256 | 3ce1951e66a7a785ff0059142420c0bb07ccb0ce1ce45f8965cd9f80500055f5 |
File details
Details for the file jgtpy-0.5.14-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.14-py3-none-any.whl
- Upload date:
- Size: 151.1 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 | f2052d1128a4214905ee2adddcc31bdafc694733d4c2ac101b4be6131bb71ac6 |
|
MD5 | 1458bc9cb0229fe5af7eebe2b456dc8b |
|
BLAKE2b-256 | 4850ca79ce4839a22852d10e5ce4213732783866bb23bb58b6bff36730ddfa35 |