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.2.245.tar.gz
(110.1 kB
view details)
Built Distribution
jgtpy-0.2.245-py3-none-any.whl
(123.8 kB
view details)
File details
Details for the file jgtpy-0.2.245.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.245.tar.gz
- Upload date:
- Size: 110.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 758392d8a279dbe3ce5cff73b2f67ca47bce9c2872f06d86466add4eec702c11 |
|
MD5 | ebb2c3af4e2c66ac5dfb6bc0b3566bb0 |
|
BLAKE2b-256 | 8ee22cb8a1dad55733134b8a91e2e98631108bf8d492fd20fc8ba2c03e681c47 |
File details
Details for the file jgtpy-0.2.245-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.245-py3-none-any.whl
- Upload date:
- Size: 123.8 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 | daecccf2493b9ff020dd5ef0110626a20c17cd8540aef19f1c73faa102db2e04 |
|
MD5 | 7bf4267a9c1de28304b7501baec2d52f |
|
BLAKE2b-256 | 8a418c658a334c238d3ff4da568e28623da785d60d1710cbe5688d99a3f3824c |