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.92.tar.gz
(30.3 kB
view details)
Built Distribution
jgtpy-0.2.92-py3-none-any.whl
(36.1 kB
view details)
File details
Details for the file jgtpy-0.2.92.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.92.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b243f551dfd6405157dd18211e4bea46cfce65d726e706725abe2714fe0e3ef |
|
MD5 | 6dba7262624d88ea93d7f93a8fcf8c69 |
|
BLAKE2b-256 | 4f6f9d2b26f862e1ad21354c71a7da9db1253eab6c7b0171b76499e05a8e4050 |
File details
Details for the file jgtpy-0.2.92-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.92-py3-none-any.whl
- Upload date:
- Size: 36.1 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 | a14e5877e80db85edbe81e4576ff2068bbfea3de74dbed763e056314bad66f86 |
|
MD5 | 36a6213387b1f54db542529efdf7d952 |
|
BLAKE2b-256 | b18a532676205af8b91ecc6a6dd690ae04ab4aaa4fe9d4ff994883551cadb692 |