Crates.io | crypto-contract-value |
lib.rs | crypto-contract-value |
version | 1.7.25 |
source | src |
created_at | 2021-05-26 22:54:04.415692 |
updated_at | 2024-03-31 01:49:32.804973 |
description | Get contract value. |
homepage | |
repository | https://github.com/crypto-crawler/crypto-msg-parser/tree/main/crypto-contract-value |
max_upload_size | |
id | 402422 |
size | 87,987 |
The value of an unit of contract diffs in different exchanges, and even in the same exchange it differs in different markets.
For example:
BTCUSDT
contract is valued at 100 USD, and each alt coin contract is valued at 10 USD.BTC-USDT-SWAP
contract is valued at 0.01 BTC.BTC-USD-SWAP
contract is valued at 100 USD.Given quantity
, the number of traded coins/contracts, we can multiply it by contract_value
to get the total traded coins/USDs.