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.42.tar.gz
(125.3 kB
view details)
Built Distribution
jgtpy-0.4.42-py3-none-any.whl
(139.7 kB
view details)
File details
Details for the file jgtpy-0.4.42.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.42.tar.gz
- Upload date:
- Size: 125.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 939475d5267b84325fc27488988651ccb18c1e8f8e96075a4500a8a8a058935f |
|
MD5 | bf6bebfec993ee1860c1cda9936d5261 |
|
BLAKE2b-256 | 718ff80be046c2d8f7775dde3324eb5433e6ac26d107a3f8e83d06ab1b5769bc |
File details
Details for the file jgtpy-0.4.42-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.42-py3-none-any.whl
- Upload date:
- Size: 139.7 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 | 1f25fc762be4fabe63eaf31df48b32a5fa2b55c29989634860a23fc09fcdca6f |
|
MD5 | 57b8ea6365550645db94617b263c29a4 |
|
BLAKE2b-256 | aeb07d4894e31ef591551fb89d262c3f3c675a67c4ec98f9b322c0984a66ef5b |