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.3.9.tar.gz
(104.9 kB
view details)
Built Distribution
jgtpy-0.3.9-py3-none-any.whl
(113.5 kB
view details)
File details
Details for the file jgtpy-0.3.9.tar.gz
.
File metadata
- Download URL: jgtpy-0.3.9.tar.gz
- Upload date:
- Size: 104.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f2a79d5f3a9c39be680806d9a48163f51072a3184ff5f65f984d8d14fca9208 |
|
MD5 | 05ee3f0a6d4cd262d13ea3e91c1691b1 |
|
BLAKE2b-256 | e58a45cc3b368603aee74723a3a18b56aa5201858963a864e09afba2cf00c6e3 |
File details
Details for the file jgtpy-0.3.9-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.3.9-py3-none-any.whl
- Upload date:
- Size: 113.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f641a1692727fe08279ad72f988929a06205f9c8b6cda8cb6f3d14f12b9e88a |
|
MD5 | 48fac939b2cbcf6947af1f7bc16ca019 |
|
BLAKE2b-256 | 9b2e88dba46f6d694f24b5c6facdb4e2e60c808977e4b9ff138936f362c61298 |