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.3.tar.gz
(111.1 kB
view details)
Built Distribution
jgtpy-0.3.3-py3-none-any.whl
(125.6 kB
view details)
File details
Details for the file jgtpy-0.3.3.tar.gz
.
File metadata
- Download URL: jgtpy-0.3.3.tar.gz
- Upload date:
- Size: 111.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49db24bc68314f0f20af17b901fcbde56e64dcbd562dbfec69e2dfe30f3ebb5a |
|
MD5 | a5a6c2b92edb086a228dcbcf7b0fbaf6 |
|
BLAKE2b-256 | bd33061216f8b054d15ff67072f8652b9a4541dd62be0ea4feceaf4628fde903 |
File details
Details for the file jgtpy-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.3.3-py3-none-any.whl
- Upload date:
- Size: 125.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf3a3afa605584c2be848116f835acc6b4f1d3df4b8c66c603432b646afea885 |
|
MD5 | 90b19ea885fcd7f28e51877da8a9de8c |
|
BLAKE2b-256 | e38dc67b5033fa45eba1ba2831410daeb74076bc81a6677bd0f6bf25913d1538 |