v0.1.0
Initial Release
What's Changed
- Make sure all pdr repos are up to date by @trizin in #7
- Use block timestamp instead of block number by @trizin in #12
- Add a Dockerfile by @trizin in #18
- Use seconds instead of block number in subgraph module by @trizin in #22
- Towards #13: add unit tests by @trentmc in #17
- Towards #13: add unit tests by @trentmc in #24
- Create an env module in utils by @trizin in #11
- Add pytest workflow by @trizin in #25
- Update prediction submission logic by @trizin in #27
- Replace
pdr-sapphire-wrapper
withsapphire.py
by @trizin in #29 - Add publisher to pdr backend by @trizin in #30
- Add black, mypy and pylint workflow by @trizin in #37
- Fund wallets during publisher startup by @trizin in #44
- Fix send_encrypted_tx arguments by @trizin in #46
- Fix #38: improve dfbuyer random algorithm by @trizin in #39
- [predictoor] Infinite token approval and cache allowance by @trizin in #48
- Add contract unit tests by @trizin in #53
- Towards #51: trader README first cut by @trentmc in #59
- Towards #51 by @trentmc in #62
- Fix #51: Add local README for each stakeholder by @trentmc in #63
- Update predict.py docstring by @trizin in #64
- Add a readme for building and deploying a container image on azure by @trizin in #65
- migrate real-time prediction loop from pdr-model-experiments by @richardblythman in #49
- Fix #57: Remove floatvalue from utils and trueval agent by @trizin in #58
- Finish #54 - Enable (a) simple flow with random predictions, yet (b) examples of using actual models by @trentmc in #71
- Fix #68 - update READMEs based on Berkay's new azure readmes by @trentmc in #72
- Fix #73 - Predictoor output too verbose due to "connection timed out" subgraph logs by @trentmc in #74
- Fix #75: Refactor predictoor approach directory structure by @trentmc in #76
- Fix #77 - Refactor: shrink "env" module and its usage by @trentmc in #78
- Fix #80 - READMEs don't support subgraph querying by @trentmc in #81
- Towards #80 - readme doesn't specify to use thegraph by @trentmc in #82
- Fix #86 - contract.py does way too much, refactor it by @trentmc in #87
- Fix #90 - Fix pylint errors by @trentmc in #93
- Issue3 - Some epochs might not get truevals fix this by @trizin in #67
- Towards #13: add predictoor tests by @calina-c in #88
- Fix #92: Have unified way to call approach 1 vs 2 by @trizin in #94
- Issue10 - Detect and claim unclaimed profits by @trizin in #91
- Adds some publish tests. by @calina-c in #89
- Fix #99: MODELDIR error in CLI by @trentmc in #100
- Refactor trueval agent by @trizin in #103
- Bump ocean-contracts version to 2.0.0a11 by @trizin in #107
- Towards #13: rename ContractData -> Feed by @trentmc in #108
- Towards #13: refactor: create BaseConfig, and make TruevalConfig inherit from it by @trentmc in #109
- Towards #13: rename query_predictContracts -> query_feed_contracts by @trentmc in #114
- Add an interface class for PredictoorHelper contract and tests by @trizin in #106
- Towards #13: make get_feeds() returns dict of Feed, not dict of dict by @trentmc in #111
- Remove env vars from conftest ganache. by @calina-c in #112
- Towards #13: tests & refactoring predictoor/ by @trentmc in #101
- Fix #117 test_predictoor_batcher.py failures by @trentmc in #118
- Fix #119: module 'ccxt.kraken' does not have the attribute 'fetch_ohlcv' by @trentmc in #120
- Fix #115 add TruevalAgentBatch agent and tests by @trizin in #116
- Fix #79: Predictoor agents see subgraph by @trentmc in #123
- Fix #122: When running publisher, get errors in get_feeds() by @trentmc in #125
- #126 - Add ContractBase class by @trizin in #127
- Remove payout call from predictoor main flow and add a command to do
payout
by @trizin in #131 - Add error handling for every external call by @trizin in #132
- Reduce random stake amount by @trizin in #134
- Fix #136 - Refactor and test trader by @calina-c in #113
- [trader] cache previous traded epoch by @trizin in #151
- #153 - [trader] Optimize main loop by waiting till soonest epoch by @trizin in #155
- #149 - [trader] make logging informative and more succinct by @trizin in #154
- #158 - [trader] Rename get_trader to trade by @trizin in #160
- #157 - [trader] Move max tries to trader agent config class by @trizin in #159
- Bump ocean-contracts version to 2.0.0a12 by @trizin in #161
- add check script by @alexcos20 in #145
- Reorganise approach 1. by @calina-c in #156
- Increase stake amount by @trizin in #166
- Fix #60: Update READMEs for remote testnet by @trizin in #143
- #162 - Update publish script for tesnet by @trizin in #163
- #148 - Add documentation for env vars by @trizin in #152
- Async feed processing in trader agent by @trizin in #167
- Refactor dfbuyer agent and implement new algorithm by @trizin in #168
- #171 - dfbuyer should handle gas related reverts by @trizin in #172
- "Get consume so far" should fetch all orders by @trizin in #175
- #176 - trueval should use close prices by @trizin in #177
- [dfbuyer] Fix expected consume calculation by @trizin in #181
- Add dfbuyer to check script by @trizin in #178
- #184 - slack notify CI is failing by @trizin in #185
- Add mainnet deployment configuration into publisher by @trizin in #187
- Bump ocean-contracts version to 2.0.0a14 by @trizin in #188
- #190 - check if subgraph is in sync before take step by @trizin in #193
- Update & add READMEs for remote mainnet by @trizin in #189
- Fix #199: Predictoor log says: Timestamp={block['timestamp']} by @trentmc in #201
- For #194 and generally: add more cleanup info to barge.md by @trentmc in #203
- Fix #196: Add link to mainnet subgraph by @trizin in #202
- Fix #204: Make predictoor payout module rock solid by @trizin in #205
- Fix #206: MacOS freezes on Docker 4.24, not 4.22. Document it in barge.md by @trentmc in #208
- Fix #209 and #210: READMEs for MacOS, high-level by @trentmc in #211
- Tweak README.md: add "agents" by @trentmc in #212
- Split Azure container deployment readme by @trizin in #200
- Ditch TUSD by @trizin in #218
- #213 - duplicate or update check script for mainnet by @trizin in #219
- Fix incorrect subgraph URLs by @trizin in #217
- Add instructions on claiming payouts as a Predictoor by @trizin in #221
- Tune #221 - payout instructions by @trentmc in #224
- Ignore trueval OCEAN and dfbuyer mainnet balance in check script by @trizin in #225
- Fix #239: The bottom of READMEs don't point to a what's next by @trentmc in #240
- Issue #137 pdr dynamic modeling, try 2 by @trentmc in #223
- Fix #245: For usability, bias pdr README to dynamic model by @trentmc in #249
- #230 - [Predictoor approach 2] Add retry mechanism for log_loop execution by @trizin in #248
- Towards #231: Add OPF predictions script by @trizin in #228
- #246 - CI install dependencies first then wait for contract deployment by @trizin in #247
- Fix #258 #260 #262: Predictoor README goes straight to local bot & remote network by @trentmc in #264
- [predictoor] Use float instead of int for stake amount by @trizin in #259
- Update ethmiami.md by @nickscavuzzo33 in #270
- Fix #268: README shows how to gen a private key via py by @trentmc in #276
- Fix #227: Feature/add topup script by @alexcos20 in #233
- Add steps to confirm transfer of OCEAN tokens on Oasis Sapphire Mainnet by @graceful-coder in #286
- Support US - Approach 3 by @trizin in #287
- #255 - Predictoor accuracy script by @trizin in #290
- Update payout.md by @graceful-coder in #288
- Hardcode OCEAN address in check network script by @trizin in #294
- Fix #293: For backend devs: friction getting local build to pass by @trentmc in #295
- Fix #265: handle network related errors by @trizin in #284
- [predictoor approach 2] Use float for stake amount by @trizin in #302
- add topup cron by @alexcos20 in #304
- Increase ROSE dispensed amount by @alexcos20 in #305
- Avoid mainnet check script from spamming the channel by @trizin in #303
- Increase topup amounts by @alexcos20 in #306
- Fix #271: [trader bot] Trader approach1, since baseline trader bot doesn't actually trade yet by @trentmc in #275
- Fix #291: [trader bot] Trader approach2 - Client caching, positions, and multiple feeds by @idiom-bytes in #292
- Issue277 move simulation flow by @idiom-bytes in #308
- Let's run topup every hour by @alexcos20 in #313
- Fix #296 & pdr-web#284: get_predictoor_info.py refactor & lite module for serving pdr metrics by @kdetry in #300
- Remove 0.01 constraint by @trizin in #316
- Add guidance on how to get Predictoor performance data by @KatunaNorbert in #315
- Predictoor claim ROSE rewards module by @trizin in #314
- Fix #324: ethmiami.md is obsolete; deprecate it by @trentmc in #325
- Fix #279: [Simulation] Do matplotlib simulations in realtime by @trentmc in #326
- Fix #327: trade_engine.py KeyError: 'TRX' by @trentmc in #329
- Increase ROSE amounts by @alexcos20 in #323
- Fix #266: [Sim] "ValueError: Input X contains NaN", so can't predict TRX/USDT by @trentmc in #330
- Fix #332: Plot appears even if do_plot = False by @trentmc in #333
- Fix #263 & #273: [Sim] Fix 'WARNING: diffs not ok', handle 1h epochs by @trentmc in #331
- Fix #334: [Sw eng, sim] Remove 'prev' approach, for simplicity by @trentmc in #335
- Fix #338: [Sw eng] mypyi.ini doesn't respect alphabetical order by @trentmc in #339
- Fix #272: [Sim] Plot % correct by @trentmc in #336
- Towards #232: refactor simulation/ into simulation/, data_eng/, model_eng/ by @trentmc in #341
- Fix #343: pytest.pathlib.ImportPathMismatchError: test.conftest by @trentmc in #344
- Fix #345: >50 pylint failures, in trueval and trader by @trentmc in #347
- Towards #232: split ss modules to: data_ss,model_ss,trade_pp,trade_ss,sim_ss by @trentmc in #342
- Towards #232: split DataSS into DataSS & DataPP by @trentmc in #351
- skip relevant pytest tests, until #229 fixed by @trentmc in #353
- Fix bug in ROSE DF claim by @trizin in #357
- Towards #232: Refactoring towards ppss.yaml part 1/3 by @trentmc in #354
- #362 & #363 & #360 - Hardening DFBuyer by @trizin in #364
- Towards #232: Refactoring towards ppss.yaml part 2/3 by @trentmc in #361
- Fixes#355: [Pdr acc] CORS, Debug Mode, the first day issue on the calculation by @kdetry in #358
- Fix #129: add unit tests & refactor publisher agent by @trentmc in #243
- Updated 'transfer ROSE to Sapphire' section by @KatunaNorbert in #373
- Add more details on ROSE rewards payout by @KatunaNorbert in #375
- #378 - Payout; auto convert wROSE to ROSE by @trizin in #379
New Contributors
- @trizin made their first contribution in #7
- @trentmc made their first contribution in #17
- @richardblythman made their first contribution in #49
- @calina-c made their first contribution in #88
- @alexcos20 made their first contribution in #145
- @nickscavuzzo33 made their first contribution in #270
- @graceful-coder made their first contribution in #286
- @idiom-bytes made their first contribution in #292
- @kdetry made their first contribution in #300
- @KatunaNorbert made their first contribution in #315
Full Changelog: https://github.com/oceanprotocol/pdr-backend/commits/v0.1.0