Skip to main content

Enhanced JGTPy CDS, IDS, PDSP Services

Project description

jgtpy (pdsp/ids/cds)

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)

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.5.7.tar.gz (137.1 kB view details)

Uploaded Source

Built Distribution

jgtpy-0.5.7-py3-none-any.whl (150.8 kB view details)

Uploaded Python 3

File details

Details for the file jgtpy-0.5.7.tar.gz.

File metadata

  • Download URL: jgtpy-0.5.7.tar.gz
  • Upload date:
  • Size: 137.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for jgtpy-0.5.7.tar.gz
Algorithm Hash digest
SHA256 37e0408727b32a3873afafa69643d14a6171fd6cdc9b08e78cd5807b27e390dc
MD5 acaf0c02ff60cf74684ab9e9189e1993
BLAKE2b-256 db6f4dbdc759152191daba182565a6d055eff1d5b426b58fd32391695cd424bf

See more details on using hashes here.

File details

Details for the file jgtpy-0.5.7-py3-none-any.whl.

File metadata

  • Download URL: jgtpy-0.5.7-py3-none-any.whl
  • Upload date:
  • Size: 150.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for jgtpy-0.5.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b018bedf0a151e8c2a32d47e02ca479fa8c4dff33475132a245370d8d267ecf4
MD5 1a9ba5b371b54e42fcf7690710e5c286
BLAKE2b-256 35d983ae25fa4609e16978c58636da184e841186a2971a5cdc7b59e8a96ffd21

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page