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.31.tar.gz
(124.0 kB
view details)
Built Distribution
jgtpy-0.4.31-py3-none-any.whl
(136.3 kB
view details)
File details
Details for the file jgtpy-0.4.31.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.31.tar.gz
- Upload date:
- Size: 124.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a8d9fca8665ceea563d59450babcaedf1c0fd0ee83ede1aadebef2c2f451aee |
|
MD5 | 46bc62a2ac2d69ab4d67269628bb5123 |
|
BLAKE2b-256 | 4db12f118ad8c881fd5de05e43a75ae121fe7be93926a7e13043260c10efeeec |
File details
Details for the file jgtpy-0.4.31-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.31-py3-none-any.whl
- Upload date:
- Size: 136.3 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 | 9faba27e026bae93ec7cd1ed0fba9b76cf776c6d91afe6545a79f4a72dccbf02 |
|
MD5 | 2934982f1d0bcedb6dffe542dbc2eb58 |
|
BLAKE2b-256 | d8036d3007cf087c173e94d9a4268980bc54b27889fca7f57bed75e4a2789cc5 |