ramzinex_get_market_buy_price
Estimate the price to buy a cryptocurrency for a given quote amount. Uses the order book to calculate the cost.
Instructions
Estimate the price to BUY for a given quote amount.
Persian purpose: برآورد قیمت خرید برای مبلغ مشخص (ارز مظنه). Public, no
auth. Maps to GET /exchange/api/{ver}/exchange/orderbooks/{pair_id}/market_buy_price with
the amount2 (quote-currency) query parameter.
Args: pair_id: Numeric id of the pair. amount2: Amount in the quote currency (e.g. IRR/Toman) to spend buying. Must be greater than zero. instance: Configured instance whose public base URL to use (default when omitted).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair_id | Yes | ||
| amount2 | Yes | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||