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.4.58.tar.gz
(132.1 kB
view details)
Built Distribution
jgtpy-0.4.58-py3-none-any.whl
(144.8 kB
view details)
File details
Details for the file jgtpy-0.4.58.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.58.tar.gz
- Upload date:
- Size: 132.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdcd8742332881f40d34d19948d72e55ec6c557347ed385bb38dc05457a535a7 |
|
MD5 | 8200dadf9909641cf54e9a68511ec4c4 |
|
BLAKE2b-256 | be59cfa65cea6feeef4c5f008ab81532f176fde0e8c90e4f68c06621d387eaa9 |
File details
Details for the file jgtpy-0.4.58-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.58-py3-none-any.whl
- Upload date:
- Size: 144.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 785fbaf36a6e2449852c2777a1b3684be189aae2d9c3f718616de49664e6af62 |
|
MD5 | 95a65da515ced84e4b8d9eddb894bdb2 |
|
BLAKE2b-256 | f5127b3c579ccfa54aadeaf410ff3254c1937e79b0bead4a118378450f079f8b |