Skip to content

jgwill/jgtfxcon

Repository files navigation

jgtfxcon

just getting prices from fxconnect

Installation

pip install -U jgtfxcon

Example

    >>> import pandas as pd
    >>> import jgtfxcon
    >>> df=jgtfxcon.getPH('EUR/USD','H4')
    >>>
    >>> # retrieve 3000 periods and generate from the DF
    >>> df=jgtfxcon.getPH('EUR/USD','H4',3000,with_index=False)
    >>> dfi=jgtfxcon.createFromDF(df)
    >>>

More

Enhancements Idea

-l (for --timeline)

  • --@STCGoal An easy way to snap a moment in time and save it to our store.
jgtfxcli -i "SPX500" -t "H1,H4,H8,D1,W1,M1" -c 500 -l "22101313"
$JGTPY_DATA/pds  NORMAL
$JGTPY_DATA/pdl/  L Item