Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Timeseries

Plot the published PPoS Dex data points over time, as in the Timeseries, to follow their trends.

$ uv run pposdex timeseries --help
usage: pposdex timeseries [-h] [-p PUBLISHER] [-s START_BLOCK] [-e END_BLOCK] [-a ALGO_THRESHOLD]
                          [-l | -t] [-v | -q] [--save]

options:
  -h, --help            show this help message and exit
  -p, --publisher PUBLISHER
                        PPoS Dex data publisher address (default:
                        WIPE4JSUWLXKZZK6GJ6VI32PX6ZWPKBRH5YFRJCHWOVC73P5RI4DGUQUWQ)
  -s, --start-block START_BLOCK
                        Data starting block (default: 11476070)
  -e, --end-block END_BLOCK
                        Data ending block
  -a, --algo-threshold ALGO_THRESHOLD
                        Minimum account balance in ALGO (default: 1000)
  -l, --localhost       Use AlgoKit LocalNet
  -t, --test            Use TestNet (default: MainNet)
  -v, --verbose         Show debug details
  -q, --quiet           Show errors only
  --save                Save plots in './docs/images'

Only data points published with the selected --algo-threshold are plotted, by default those of the PPoS Dex Oracle account. With --save the plots are saved in ./docs/images/timeseries instead of being shown.