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.226.tar.gz
(48.8 kB
view details)
Built Distribution
jgtpy-0.2.226-py3-none-any.whl
(59.8 kB
view details)
File details
Details for the file jgtpy-0.2.226.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.226.tar.gz
- Upload date:
- Size: 48.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26a0782ed93d206e65e390f74622f65ad7356ce0f8b3628087b0dd536de86c96 |
|
MD5 | 8f202d13e0cf525c3bccef44c217f040 |
|
BLAKE2b-256 | 0893fe807eba3b75728f284830304cbf897ae4979272a682013e58a99e84cfb4 |
File details
Details for the file jgtpy-0.2.226-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.226-py3-none-any.whl
- Upload date:
- Size: 59.8 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 | eaad30b362fe1adb734b9da40082852533f02be3896c72e9e2b2ddc183c4e0bf |
|
MD5 | 081ec184b5d9ad9fa10d8fc6c6911ee8 |
|
BLAKE2b-256 | eb21925fa189d7094626dc06cf46340413ba924105715f6617b81717cb51623c |