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.92.tar.gz
(135.7 kB
view details)
Built Distribution
jgtpy-0.4.92-py3-none-any.whl
(148.8 kB
view details)
File details
Details for the file jgtpy-0.4.92.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.92.tar.gz
- Upload date:
- Size: 135.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8256ec0715a5b82a98378a01400aebe10b09a4df591da9c7b3b3c827af6aeff5 |
|
MD5 | 7ec48e267900c28c31197b12271c5293 |
|
BLAKE2b-256 | bd16e02ed77d8da890f9089c8b4b76c4fe08d9dc7feb8c9b2d27f5fc72eca3fc |
File details
Details for the file jgtpy-0.4.92-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.92-py3-none-any.whl
- Upload date:
- Size: 148.8 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 | b6653b0829e8353f3e3029d6d3c76571e68021eede3fe0119b21276514f0da1d |
|
MD5 | acb82a455cf5bfd856a3aaa77576b39b |
|
BLAKE2b-256 | d451aff02d611328c080e51dc0a7734d5d46a202a5f5eb98fbf25015fffd734a |