Wikidata:Property proposal/exchange rate
exchange rate edit
Originally proposed at Wikidata:Property proposal/Generic
Not done
Description | MISSING |
---|---|
Data type | Quantity |
Example 1 | yen (Q8146) → 113.79 |
Example 2 | Vietnamese đồng (Q192090) → 23290 |
Example 3 | New Taiwan dollar (Q208526) → 30.77 |
Motivation edit
Exchange rates are usually quoted in direct quotation, aka price quotation, opposite of how rates are quoted for various currencies using price (P2284). Hence a conversion is necessary. The proposed property would eliminate this need. Szqecs (talk) 11:57, 11 November 2018 (UTC)
Discussion edit
- @Szqecs: Is this different to the reciprocal of price (P2284), or the value of price (P2284) on the other currency's item? Jc86035 (talk) 12:13, 11 November 2018 (UTC)
- It is exactly that. However with price (P2284), there is no way to accurately enter data as given from sources. You cannot enter the value 1/113.79 USD for JPY. As for price (P2284) on the other item, the property only allows a handful of currencies as the unit. Szqecs (talk) 12:20, 11 November 2018 (UTC)
- @Szqecs: Anyone can add more currencies to the list of allowed units (Property:P2284#P2302). I guess if only 113.79 were provided by a source and not the reciprocal then you would only add the value to one item, and the data consumer would then look at both items to get the values for the exchange rate (or you would round the calculated value to have the same number of significant digits as the original). Having data on only one item works fine for properties without inverses like modified version of (P5059), so I don't see why this would absolutely necessitate the creation of a new property. Jc86035 (talk) 19:53, 11 November 2018 (UTC)
- It is exactly that. However with price (P2284), there is no way to accurately enter data as given from sources. You cannot enter the value 1/113.79 USD for JPY. As for price (P2284) on the other item, the property only allows a handful of currencies as the unit. Szqecs (talk) 12:20, 11 November 2018 (UTC)
@Szqecs:There are two quotation methods forms - see here. I propose to use price with a qualifier indicating the method of quotation. What sources would you use and how granular should be the data? Datawiki30 (talk) 22:04, 12 November 2018 (UTC)
- The examples suggest that there a reasonable way to think about a price conversation without units on both sids of the equation and a time when the conversion happened to be true. I don't thin that's the case. ChristianKl ❪✉❫ 11:04, 25 November 2018 (UTC)
Not done No support.--Micru (talk) 14:19, 19 December 2018 (UTC)