Closed mkuzmentsov closed 2 months ago
Also, attaching the output of trades
trades-7.txt
command
@mkuzmentsov does this happen when using an API key for the graph?
@Adamantios yes, when I upgraded the service using instructions, it asked me to provide one, so I provided the key.
I see it's set in .trader_runner/.env
@Adamantios you gave me a clue, I created account at https://thegraph.com/ and created an API Key, BUT I didn't notice it used different address, which is NOT agent's address. I recreated the API key by logging in with my agent's address and it's back in business now. Thank you!
BTW, any readings on tips how to improve performance of trader service?
@mkuzmentsov I'm glad that it works now. The address that you are using to obtain the API key should not matter. I suspect that it was an issue with the subgraph's indexing. We are looking into solutions because currently the indexers of the graph network are not incentivized to index the omen subgraph and as a result, it is not always operational.
If you ever need to check the status of the subgraph quickly, you can navigate here.
BTW, any readings on tips how to improve performance of trader service?
The performance of the trader service depends mostly on the utilized tool (it selects the answer of the bet) and the strategy (it selects the amount of the bet). As a developer, one can improve the performance by implementing betters tools and strategies. As an operator, one can improve the trader by running it, because it learns how to select the best tools by assigning weights to them, based on the outcomes of the past bets.
I attempted update of the service as described in README.md , after wich it stopped trading. Log output: