Skip to main content

Module account

Module account 

Source

Structsยง

FillsQuery
MarketsQuery
OrdersQuery
PortfolioQuery
RiskGridQuery
TradesQuery
WithdrawOptionRequest
WithdrawOptionResponse
WithdrawUsdcRequest
WithdrawUsdcResponse

Functionsยง

canonical_decimal_string ๐Ÿ”’
cash_withdrawal_request_already_journaled ๐Ÿ”’
ensure_cash_withdrawal_safety ๐Ÿ”’
get_fills
Get fills for a wallet
get_markets
Get all available markets with their instruments
get_orders
Get orders for a wallet
get_portfolio
Get portfolio for a wallet
get_risk_grid
Get extended risk grid for a wallet.
get_trades
Get a list of recent trades
option_expiry_to_timestamp ๐Ÿ”’
option_quantity_to_token_amount ๐Ÿ”’
option_withdrawal_directive ๐Ÿ”’
option_withdrawal_request_id ๐Ÿ”’
portfolio_margin_mode_allowed ๐Ÿ”’
rsm_signer_address_from_state ๐Ÿ”’
set_margin_mode
Set margin mode for a wallet (requires zero open positions)
testnet_withdrawals_disabled ๐Ÿ”’
usdc_amount_to_token_amount ๐Ÿ”’
usdc_withdrawal_request_id ๐Ÿ”’
withdraw_option
withdraw_usdc