tellor-io / dataSpecs

Data specifications for oracle queries
17 stars 9 forks source link

New dataSpec: Custom Commodity Price (aggricultural commodities) #119

Closed 0xSpuddy closed 1 year ago

0xSpuddy commented 1 year ago

We received a new dataRequest for the spot prices of agricultural commodities: wheat, soybeans, rice, and corn. This issue is intended to start a conversation about how this data should be handled in the Tellor system. We are thinking that we probably need a new dataSpec for these prices that is more descriptive than simple spotPrice.

From the user: "The initial idea is to use data from https://commodities-api.com :

GET Request: https://www.commodities-api.com/api/latest?access_key=$hozfjpuk6ahwwfxdg4b60vs5c9bfih05mfpouu4ne6ywagsq986v45e88xk3&base=USD&symbols=RICE%2CWHEAT%2CSOYBEAN%2CCORN%2C

The data that is needed: CORN: per bushel, RICE: per CWT, SOYBEAN: per bushel, WHEAT: per metric ton"

Our contact for this project / data is private Telegram group. If anyone would like to be added to the group let me know. Thanks for reading!

0xSpuddy commented 1 year ago

Closing this because the dataSpec has been merged in here: https://github.com/tellor-io/dataSpecs/commit/d165cf6af3781a6eb2df8cca2cdf4e06cad33b3b

CustomPrice queries can now be input manually in telliot: https://github.com/tellor-io/telliot-feeds/pull/689