Enhanced JGTPy CDS, IDS, PDS 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.89.tar.gz
(29.9 kB
view details)
Built Distribution
jgtpy-0.2.89-py3-none-any.whl
(35.7 kB
view details)
File details
Details for the file jgtpy-0.2.89.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.89.tar.gz
- Upload date:
- Size: 29.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4862a9702de28201ed8bfe16802832854edcd87f027e0095454814ec687e5a08 |
|
MD5 | 53d7a90094ff041861019df6fb3aea88 |
|
BLAKE2b-256 | 0553a7175b2dacb99161b06c09766d7d2b412e500578be842825ea044c25fa14 |
File details
Details for the file jgtpy-0.2.89-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.89-py3-none-any.whl
- Upload date:
- Size: 35.7 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 | e83356097769a1393046298826963bb29a40b33d37c6f3d0eeb295e43097f2c5 |
|
MD5 | 692a938d43c83653d5200b6b39fcd375 |
|
BLAKE2b-256 | 05975f4b642bcb4e4b7ff3db6c7b31b46404df87809ce1e0a080e84a3027985f |