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.22.tar.gz
(108.4 kB
view details)
Built Distribution
jgtpy-0.3.22-py3-none-any.whl
(117.3 kB
view details)
File details
Details for the file jgtpy-0.3.22.tar.gz
.
File metadata
- Download URL: jgtpy-0.3.22.tar.gz
- Upload date:
- Size: 108.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31130b885ac0cf4240a55553b1da91b8a6a89602282a6e201b70932e59e17d42 |
|
MD5 | b4f220964d7d559c3fb5e4487c11217b |
|
BLAKE2b-256 | 3d3f386d01ddc7cf4b6bb745ce2bb8aa9ee15e77c7c6b6e9eca0473a65a63a47 |
File details
Details for the file jgtpy-0.3.22-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.3.22-py3-none-any.whl
- Upload date:
- Size: 117.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88dee350a97aa352d9baf0f136a98edb15bf755cb7a7d8a234c84f8be327f52f |
|
MD5 | acfff0940a631d48af599b42edaa2659 |
|
BLAKE2b-256 | 896d3bdcae4fc7479534025c3c5070402c86bfa2a61cf2cbb1c2a7d15cb8cee9 |