get_quote
A signed quote addressed to account for quantity shares (buy or sell), valid for seconds, with the exact calldata
to send to fillOrderAs from the owner key or the given session key, the fee, the decay and a canFill preview (with a
session_key it also checks the key's live TRADE session, its spend budget spendLeft and its short-risk budget riskLeft). Sells are close-only: side=sell is quoted only against a long account holds in that instrument (else close_only:*);
to exit a position use close_quote. Nothing is sent by this server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| account | Yes | ||
| quantity | Yes | ||
| instrument | Yes | ||
| session_key | No |