oceanprotocol / pdr-backend

Instructions & code to run predictoors, traders, more.
Apache License 2.0
22 stars 15 forks source link

[EPIC, Sim] Integrate subgraph prediction into sim trading #1257

Open KatunaNorbert opened 1 week ago

KatunaNorbert commented 1 week ago

Target Make money trading against previous prediction signals

To dos

KatunaNorbert commented 1 week ago

At first step we will add the new chain feed prediction on top of the already existing code and just easily switch between the 2 prediction sources by using a use_own_model flag inside ppss.yaml as: `# predict price direction

    if ppss.sim_ss.use_own_model:
      prob_up: float = model.predict_ptrue(X_test)[0]  # in [0.0, 1.0]
    else:
      prob_up: float = <<get chain feed prediction>>

`