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.26.tar.gz
(123.9 kB
view details)
Built Distribution
jgtpy-0.4.26-py3-none-any.whl
(136.3 kB
view details)
File details
Details for the file jgtpy-0.4.26.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.26.tar.gz
- Upload date:
- Size: 123.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2369fc1915a97814812b5c51bb9b5037c92840ff835107cdef8e98d6ec40ff8 |
|
MD5 | 1796e7dd965e36fcc22d67ef36030ead |
|
BLAKE2b-256 | d928846863277916146c595894013428e9eadb54fb81ad2008cb5e98133035f9 |
File details
Details for the file jgtpy-0.4.26-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.26-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 | 7a4fcf5c07e8251ea21daf8ea48e5bd137d3a24c689bfaad12d6c0ee6f082a99 |
|
MD5 | 9acd66cf7e5781c6bbd72a3e787254b5 |
|
BLAKE2b-256 | 03d28e77024d2390b69b7f01f0da3de21b0529545e656bf78c377f18a0f6c24a |