Enhanced JGTPy CDS, IDS, PDS 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.110.tar.gz
(36.5 kB
view details)
Built Distribution
jgtpy-0.2.110-py3-none-any.whl
(44.2 kB
view details)
File details
Details for the file jgtpy-0.2.110.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.110.tar.gz
- Upload date:
- Size: 36.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af1fd28e287142a1f4e5522a1dffe563fda853e5be23cc0da3adde4318e8c43e |
|
MD5 | 2ba64d829517aa65ff9888b4e5288d3b |
|
BLAKE2b-256 | 74dbe0b7b3d466727dd587d4d191baf959d1d14145776869fba170318d012ac0 |
File details
Details for the file jgtpy-0.2.110-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.110-py3-none-any.whl
- Upload date:
- Size: 44.2 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 | 17a50fe8088062f24c5d475c654df8e235439747467030d6b1fa318bf1b9972d |
|
MD5 | 46591a8f8cccf588a5f73a54e7a98371 |
|
BLAKE2b-256 | 7aa1465163b329e31542afc9966e67970cbbd1c69d4b7cc47b25d47ab6a63c57 |