Enhanced JGTPy CDS, IDS, PDS Services
Project description
jgtpy
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.1.41.tar.gz
(38.6 kB
view details)
Built Distribution
jgtpy-0.1.41-py3-none-any.whl
(46.7 kB
view details)
File details
Details for the file jgtpy-0.1.41.tar.gz
.
File metadata
- Download URL: jgtpy-0.1.41.tar.gz
- Upload date:
- Size: 38.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d732498876d8317c40fb29e6b71bdecf6ef69869ba40971c2f9ff7fb901158 |
|
MD5 | d4c90a640bb3f0c16dabfaf969a89b2f |
|
BLAKE2b-256 | e0fa52024f2448ba1bda65131c89f811486d141fd44d5da798c58f4aa19ff2cb |
File details
Details for the file jgtpy-0.1.41-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.1.41-py3-none-any.whl
- Upload date:
- Size: 46.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4847913d43830b22d80bb20328f69650f120d53488bfc97163880416d6a6d4e |
|
MD5 | ef22e096b596b81c3e64cf847964400d |
|
BLAKE2b-256 | a301e652bf7e07df6b87d322bdd0fef81867b172c2e4a227549bd5cf7b47a18a |