Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for Setting multiple Queries with the -qt flag #654

Open
0xSpuddy opened this issue Apr 12, 2023 · 0 comments
Open

Allow for Setting multiple Queries with the -qt flag #654

0xSpuddy opened this issue Apr 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@0xSpuddy
Copy link
Contributor

0xSpuddy commented Apr 12, 2023

This issue is sort of an inverse of issue #508 but I think it's a better way to achieve the same thing, so making it a separate issue here.

Currently telliot is only able to submit one query type when the -qt flag is used. For testing and data providing it would be great if a few different query types could be specified. Telliot would then rotate through the multiple specified queries.
For example, if this start command was used:
telliot report -a hyperspace5 -qt usdt-usd-spot usdc-usd-spot dai-usd-spot -p YOLO -ncr -wp 3600
Telliot would submit usdt/usd, wait an hour, submit usdc/usd, wait an hour, then submit dia/usd and so on.

I can imagine users might also want to submit multiple queries at the same time or one immediately after the other, but I'm not sure if this is less or more difficult. Really any functionality based on this idea would come in super handy!

The only way to achieve behavior like this currently is to run 3 separate telliot instances.

Please comment with questions. Thanks for reading!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant