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.229.tar.gz
(107.1 kB
view details)
Built Distribution
jgtpy-0.2.229-py3-none-any.whl
(118.8 kB
view details)
File details
Details for the file jgtpy-0.2.229.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.229.tar.gz
- Upload date:
- Size: 107.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51bea2ea6661d4de22277a9b289ec7c5168f30c886ca3fc73c4c9a51e09e3b36 |
|
MD5 | 1585d0599d791fd41120f00930ee6c86 |
|
BLAKE2b-256 | 3ac73e7099162ce3b4de16408021dddd31d835e4e00e92851f9e917d2d10789c |
File details
Details for the file jgtpy-0.2.229-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.229-py3-none-any.whl
- Upload date:
- Size: 118.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 | 78fb90ae1e1b392ed75d8408d80c046bf77efebc205a3f4420ec84026ac5b422 |
|
MD5 | 5b03460f2cfc6625fde599299b0f0109 |
|
BLAKE2b-256 | 00cec5cea80dadd302669a5aef06c27ea0fbc15ab51a47c5c278336d3a8d7c01 |