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.56.tar.gz
(132.1 kB
view details)
Built Distribution
jgtpy-0.4.56-py3-none-any.whl
(144.8 kB
view details)
File details
Details for the file jgtpy-0.4.56.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.56.tar.gz
- Upload date:
- Size: 132.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16edb0ee78807265505e68eabf5bffec0a1cbb0814293d352bb48f5d63c27453 |
|
MD5 | 5f37bfba67505f7b5ecb987e90ddd45a |
|
BLAKE2b-256 | 0e73915fcc044451ae5b515e94bbad0c0a0df0f4075d79bcdf3a270a4297d384 |
File details
Details for the file jgtpy-0.4.56-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.56-py3-none-any.whl
- Upload date:
- Size: 144.8 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 | f584dd0c70fcb7dbe0abe51f1e3c096e875e5bb79c4bb32ea70b54937551d9ec |
|
MD5 | 487b66ef74646aca5010f22592ad0c46 |
|
BLAKE2b-256 | 079424f17da96cccff5adcb69a3e7023f3c3349e2eb58a9875cfe2a0a755378f |