Skip to content

Currency conversion

Łukasz Domeradzki edited this page Apr 19, 2021 · 19 revisions

Currency conversion

ArchiBot supports. The actual syntax is:

convert [Amount] [FromPlatform-]<FromSymbol> [ToPlatform-]<ToSymbol> 

Examples:

convert 1 USD PLN
convert X-BITCOIN X-ETHEREUM
convert 1000 S-GEMS W-USD

Supported platforms

Platform is defined as independent ecosystem with its own rules and assets. Every ecosystem has a multiplier that relates the relationship with the default, World ecosystem. Some ecosystems convert to World at 1:1 rate (e.g. Xtb), others do not (e.g. Steam). Conversions within the given ecosystem (e.g. World to World or Steam to Steam) are not affected by the multiplier.

W / World

World is the default ecosystem used when omitted from the command. It presents Fiat money in form of various supported currencies that can be compared across. Symbol is declared as 3-letter ISO 4217 currency code. ArchiBot supports three independent sources of currencies, namely XTB, ECB and Currency Converter API, and will attempt to use them in this order, provided the third-party service is online and supports given currency.

S / Steam

Steam is ecosystem made by Valve available officially through Steam market, and unofficially through various third-party services (e.g. BitSkins). It presents selected choice of items available on the platform, as well as a Steam wallet funds in given currency corresponding to the World currencies.

The supported symbols apart from World currencies that are currently available:

Symbol Description
CSGO Alias for CSGO_0
CSGO_<n> The n-th most popular out of the CS:GO keys currently available, starting from 0. Popularity is determined by the number of active sell listings. For example, CSGO_2 will be 3rd most popular key
GEM / GEMS SACKS divided by 1000
SACK / SACKS Sack of gems
TF2 Mann Co. Supply Crate Key

Clone this wiki locally