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.57.tar.gz
(137.5 kB
view details)
Built Distribution
jgtpy-0.5.57-py3-none-any.whl
(151.4 kB
view details)
File details
Details for the file jgtpy-0.5.57.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.57.tar.gz
- Upload date:
- Size: 137.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a12428251672ae56318b1430c17c099f95ce2f47383d74f60dd64f9ce5c802ca |
|
MD5 | cf1a95da9341b21face6ab89adc3f89b |
|
BLAKE2b-256 | 8a5a190d773ff872d55d89f928c77f9b6edc2b067287efedce8460f816bd780b |
File details
Details for the file jgtpy-0.5.57-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.57-py3-none-any.whl
- Upload date:
- Size: 151.4 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 | b5e1b324c7445b84be1cbbc839d490bdfd2ed5f92d1e33e67b02d1b141ec8620 |
|
MD5 | 2c603c6a19b6fe453e6b6c0f9326e559 |
|
BLAKE2b-256 | b34f4e76cfd1a83f0e69b2308fc8427dedaeab530ac0fddd0b069d03e3164c1c |