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.20.tar.gz
(119.0 kB
view details)
Built Distribution
jgtpy-0.4.20-py3-none-any.whl
(130.4 kB
view details)
File details
Details for the file jgtpy-0.4.20.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.20.tar.gz
- Upload date:
- Size: 119.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2f3607fe48d9a02e3766b314393e250b8bd925805fec5e49232388a3d5ef47e |
|
MD5 | 38cfa21e0203008eb8fb7d961dd84b8b |
|
BLAKE2b-256 | 31369a08f75343f052c59a022f1b159d1fb84ea7bc13e2f19d7e6b3f149631ef |
File details
Details for the file jgtpy-0.4.20-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.20-py3-none-any.whl
- Upload date:
- Size: 130.4 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 | a2aa65cd9344f096cb752197b85fdf6a731f6b4fd0f4c4f6dfab6ed7cf116071 |
|
MD5 | bb15f47f6c2bb581ae81b6ad47d3c539 |
|
BLAKE2b-256 | 653ccbe69c1cded5afce9bc447568df1c22793ac43c2e192fa85bde73504c3b2 |