Milli.gold trade cost quote
mg_trade_quoteEstimates the live cost or payout of a gold buy or sell, including the fee. Enter grams for either side or a Toman budget for a buy.
Instructions
Estimate what a gold trade on Milli.gold costs or pays out right now, fee included, at the live price.
Give grams for a buy or a sale, or toman (a budget, fee included) for a buy. The fee follows the fees page:
the larger of min and percent of the amount (today 1 mg or 0.5 %). pay_toman is the total for a buy,
receive_toman the payout of a sale. It is an estimate: new-user fee waivers and wallet withdrawal fees are not
applied, and the price moves. For the fee table itself use mg_fees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | buy = you buy gold, sell = you sell gold. | |
| grams | No | Amount of 18k gold in grams (e.g. 0.5). | |
| toman | No | Buy only: total budget in Toman, fee included (e.g. 5000000). |