Note: This page describes how to use the 'mtcli' command line executable. This binary is currently available for Linux only
To use mtcli from the command line, you must have a synced Microtick node and you need to set the MTROOT environment variable to the same directory your synced node is using, for example:
$ export MTROOT=$HOME/testnet
$ mtcli query microtick quote <quote_id>
$ mtcli query microtick quote 4093
Quote Id: 4093
Modified: 2019-10-03 18:35:37.617900083 +0000 UTC
CanModify: 2019-10-03 18:36:07.617900083 +0000 UTC
Returns the static and dynamic quote parameters for a particular quote ID. This command does not return historical quote updates or old quote IDs -those must be queried using Tendermint search.
Unique quote ID being queried.
Account address of the quote provider (the market participant who created and is responsible for updating the quote.
The market identifier of the market the quote was placed on.
The order book duration the quote was placed on.
The backing token amount the quote is backed by.
The quoted spot price. This parameter may be updated from time to time by the quote creator but does not change without an external transaction.
The quoted volatility premium. This parameter may be updated from time to time by the quote creator but does not change without an external transaction.
Quantity is calculated from backing and premium by the following formula: Quantity = Backing / (Leverage * Premium) where Leverage is a constant, in this case 10 for all markets.
Premium as Call
Dynamic quantity calculated by discounting (or increasing) the quoted premium according to 1/2 the difference between the consensus price of the market and the quoted spot. This value changes with every change to the quoted spot, quoted premium, or dynamically as the market consensus price changes block-by-block.
Premium as Put
Dynamic quantity calculated by discounting (or increasing) the quoted premium according to 1/2 the difference between the quoted spot and the consensus price of the market. This value changes with every change to the quoted spot, quoted premium, or dynamically as the market consensus price changes block-by-block.
Timestamp of the last modification time of the quote.
Timestamp after which the quote may be modified again. The time period where a quote is frozen is set in the genesis block.