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.2.243.tar.gz
(109.6 kB
view details)
Built Distribution
jgtpy-0.2.243-py3-none-any.whl
(123.1 kB
view details)
File details
Details for the file jgtpy-0.2.243.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.243.tar.gz
- Upload date:
- Size: 109.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 792ec9ca3137d98fd4068e8001b365f6933dc26e7ce8b04b8c6e61b91c86d9df |
|
MD5 | cf6c66ea41362e045a9e247529bcb457 |
|
BLAKE2b-256 | 9801a77daad622a44f6c2dca57ec8e60333875296040b88736ad75e8ade552b0 |
File details
Details for the file jgtpy-0.2.243-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.243-py3-none-any.whl
- Upload date:
- Size: 123.1 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 | 1a3de68cd37c40ef2fede05da0af938f739cc18d2bf368e7c9db4d389562aa70 |
|
MD5 | 648dead35da3c1100d6d8e130c09a366 |
|
BLAKE2b-256 | b6807efab3e95cf6bde70e56be8e112c3f3ced83e8138b3b526123c06b788e0f |