Antonio Hernandez
Antonio Hernandez
Since Taptools aggregates the price provided by MinSwap (and provided by Maestro), it seems desirable to have the capability of fine-tunning the weights of each Prices Provider. Last commit enables...
With last commit, `buildPP` now checks that - Length of list of weights coincides with number of prices providers; - "Threshold2" is not smaller than "Threshold1".
Successfully tested: - Working *Taptools price feed*. - Config file is backwards compatible. As well as these scenarios: - Maestro price is unavailable (warns but MMBot continues) - Taptools price...
State in `exectueStrategy` (MakerBot.hs) is: ```haskell data MBFret = MBReady | MBSpooked1 { mbsRelax1 ∷ !Int , mbsWorse1 ∷ !Int } | MBSpooked2 { mbsRelax2 ∷ !Int } ``` Counters'...
As per convention in 'sample-preprod-maker-bot-config-gens-v2.yaml', *flag files* are: - 'offset_price.txt': content of this file is artificially added to Maestro's price. - 'maestro_available.txt': if its content is `False`, Maestro is artificially...
To be on the safe side, I included `secrets/` in .dockerignore. Was this necessary?
Latest changes: - I removed all code duplication in testing suite. - Added a third prices provider, so now `PricesProviderCfg` is: ```haskell data PricesProviderCfg = MaestroPPC MaestroConfig | TaptoolsPPC TaptoolsConfig...
Latest commit addresses the following issues: - If Maestro failed to provide price, execution would stop with an exception instead of relying on the other prices provider(s). - The warning...
I believe this PR is ready to be merged into `main`, and that the following outstanding issues can be worked out while MMBot is being tested on Preprod, as a...
Experimentation shows that, with original definition of `taptoolsManager`, ```haskell taptoolsManager :: Confidential Text -> IO Manager taptoolsManager apiKey = newManager $ tlsManagerSettings { managerModifyRequest = withHeaders } where Confidential apiKey'...