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.4.76.tar.gz
(134.5 kB
view details)
Built Distribution
jgtpy-0.4.76-py3-none-any.whl
(147.4 kB
view details)
File details
Details for the file jgtpy-0.4.76.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.76.tar.gz
- Upload date:
- Size: 134.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 | 4384e112fa4505e0391a7c7e2f5a20c05dcb8d0a03d802549fb85096ca3579ac |
|
MD5 | dfef462a9bbf68ed84c4aaa9caf6feff |
|
BLAKE2b-256 | c178c1e646f65ed95b024ff6705493f83ef7ffc9621cc92c1d792733cba24245 |
File details
Details for the file jgtpy-0.4.76-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.76-py3-none-any.whl
- Upload date:
- Size: 147.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 | 6ed7d9cc78b5623b9d066cf35dedb1886565f9cb0d27edbe240f5387e63b7191 |
|
MD5 | a639a00614511d74613f2f48f5744147 |
|
BLAKE2b-256 | 7027baeff9ed0d27e58226057e75a1f60811e193bcca95cfae1ba1bb574d562d |