main.py
calls. Update your flows accordingly.
- Run predictoor bot - make predictions, make $
- Run trader bot - consume predictions, trade, make $
(If you're a predictoor or trader, you can safely ignore the rest of this README.)
A "ppss" yaml file, like ppss.yaml
, holds parameters for all bots and simulation flows.
- We follow the idiom "pp" = problem setup (what to solve), "ss" = solution strategy (how to solve).
PRIVATE_KEY
is an exception; it's set as an envvar.
When you run a bot from the CLI, you specify your PPSS YAML file.
(First, install pdr-backend first.)
To see CLI options, in console:
pdr
This will output something like:
Usage: pdr sim|predictoor|trader|..
Main tools:
pdr sim YAML_FILE
pdr predictoor APPROACH YAML_FILE NETWORK
pdr trader APPROACH YAML_FILE NETWORK
...
- Get tokens: testnet faucet, mainnet ROSE & OCEAN
- Claim payout for predictoor bot
- Predictoor subgraph. Subgraph filters
- Run barge locally
- Backend-dev - for
pdr-backend
itself - Run dfbuyer bot - runs Predictoor DF rewards
- Run publisher - publish new feeds
- Run trueval - run trueval bot
This repo implements all bots in Predictoor ecosystem.
Each bot has a directory. Alphabetically:
dfbuyer
- buy feeds on behalf of Predictoor DFpredictoor
- submit individual predictionspublisher
- publish pdr data feedstrader
- buy aggregated predictions, then tradetrueval
- report true values to contract
Other directories, alphabetically:
accuracy
- calculates % correct, for display in predictoor.ai webappdata_eng
- data engineering & modelingmodels
- class-based data structures, and classes to wrap contractspayout
- OCEAN & ROSE payoutppss
- settingssim
- simulation flowutil
- function-based tools