Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 2.16 KB

File metadata and controls

46 lines (37 loc) · 2.16 KB

Quote

A committed executable quote for a trading pair.

Properties

Name Type Description Notes
via AccessType
id str The unique identifier of the quote.
quote_asset_id str The target asset identifier.
quote_asset_rail TransferRail [optional]
base_asset_id str The source asset identifier.
base_asset_rail TransferRail [optional]
base_amount str The amount of the base asset.
quote_amount str The amount of the quote asset.
price_impact float The estimated price impact as a decimal fraction. [optional]
quote_min_amount str The minimum guaranteed amount of the quote asset. [optional]
is_slippage_applied bool Indicates if slippage was applied to the quote. [optional] [default to False]
execution_steps List[QuoteExecutionStep] Ordered list of execution steps for the quote. [optional]
general_fees List[Fee] General fees associated with the quote. [optional]
side Side
expires_at str The expiration time of the quote in ISO 8601 format.
order_creation_requirements str A JSON Schema Draft-7 document in string format describing the fields required when creating an order so clients can validate their order payload before sending. [optional]
type str The type of the quote.

Example

from fireblocks.models.quote import Quote

# TODO update the JSON string below
json = "{}"
# create an instance of Quote from a JSON string
quote_instance = Quote.from_json(json)
# print the JSON string representation of the object
print(Quote.to_json())

# convert the object into a dict
quote_dict = quote_instance.to_dict()
# create an instance of Quote from a dict
quote_from_dict = Quote.from_dict(quote_dict)

[Back to Model list] [Back to API list] [Back to README]