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 tx microtick update-quote <quote_id> [newspot] [newpremium]
Updates a give quote id. Only the quote provider can update a quote. Note that a quote cannot be canceled until it's "Can Modify" time has been reached. More information on that on the Query Quote page.
Unique ID of the quote to be modified. Only the quote provider can modify a quote.
New spot price for the quote. Example: 176spot. 0spot may be specified and will leave the existing spot as-is.
New requested premium for the quote. Example: 1premium. 0premium may be specified and will leave the existing premium as-is.
There are restrictions involved when choosing backing, spot and premium for a quote. These are called the "2x Invariants" and are as follows: