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

Uploaded Source

Built Distribution

jgtpy-0.5.76-py3-none-any.whl (152.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jgtpy-0.5.76.tar.gz
  • Upload date:
  • Size: 138.2 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.76.tar.gz
Algorithm Hash digest
SHA256 e509b5a0d458047328a457cbd99dcd69c7836177eb9fadcd420fcdec5b4b9835
MD5 6884ff0d3a827a8bc956f4b5bcf1f5ef
BLAKE2b-256 cf9eb3097721a85e345dcbde150bb1af6417aaaba9b327346787e2cd5d62409c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jgtpy-0.5.76-py3-none-any.whl
  • Upload date:
  • Size: 152.5 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.76-py3-none-any.whl
Algorithm Hash digest
SHA256 9e6257c5ab47977c395e700961527f35ad78bf85f19f6766141350ee6cd0d404
MD5 6531bf1d202486145413ec182ec62074
BLAKE2b-256 4ef21504050829eb374530b5e1ffc31f1cfb9e5fe934884e61de07a72c7fb1ca

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