Skip to main content

Module handlers

Module handlers 

Source

Re-exportsยง

pub use crate::state::AppRuntimeConfig;
pub use crate::state::AppState;
pub use account::get_fills;
pub use account::get_markets;
pub use account::get_orders;
pub use account::get_portfolio;
pub use account::get_risk_grid;
pub use account::get_trades;
pub use account::set_margin_mode;
pub use admin::cancel_all_orders;
pub use admin::delete_mmp_config;
pub use admin::delete_user_tier;
pub use admin::get_mmp_config;
pub use admin::get_user_tier;
pub use admin::reset_mmp;
pub use admin::set_mmp_config;
pub use admin::set_user_tier;
pub use agents::approve_agent;
pub use agents::get_authorized_agents;
pub use agents::revoke_agent;
pub use bulk_orders::bulk_cancel_order;
pub use bulk_orders::bulk_cancel_order_by_cloid;
pub use bulk_orders::bulk_place_order;
pub use bulk_orders::BulkOrderResult;
pub use health::health;
pub use health::ready;
pub use health::standby_ready;
pub use health::version;
pub use market_data::get_expiry_summary;
pub use market_data::get_instrument_specs;
pub use market_data::get_instruments;
pub use market_data::get_options_summary;
pub use options_chain::get_options_chain;
pub use options_chain::get_orderbook;
pub use orders::cancel_order;
pub use orders::cancel_order_by_cloid;
pub use orders::place_order;
pub use replace_orders::bulk_replace_order;
pub use replace_orders::replace_order;
pub use testnet::expire_instrument;
pub use testnet::faucet;
pub use testnet::set_option_iv;
pub use testnet::set_spot_price;

Modulesยง

account
admin
agents
bulk_orders
candles
competition
directives
Directive status REST API handler.
gas_provider
greeks
health
historical_pnl
historical_theos
liquidation
Liquidation REST API handlers.
market_data
notifications
API handlers for the persisted notification feed.
options_chain
orders
profile_image
push
API handlers for Web Push subscription management.
replace_orders
rfq
rsm_rpc
settlement
Settlement payout REST API handlers.
testnet
username
API handlers for the username system.

Constantsยง

FAUCET_LIFETIME_CAP_USDC ๐Ÿ”’
MARKET_MAKER_TIER ๐Ÿ”’

Functionsยง

api_error_response ๐Ÿ”’
api_json_response ๐Ÿ”’
convert_extended_risk_matrix ๐Ÿ”’
convert_risk_grid_scenarios ๐Ÿ”’
ensure_order_creation_allowed ๐Ÿ”’
normalize_orders_status_filter_input ๐Ÿ”’
order_book_greeks_from ๐Ÿ”’
parse_requested_underlyings ๐Ÿ”’
parse_status_filter ๐Ÿ”’
pm_unavailable_response ๐Ÿ”’
quote_levels_to_human_contracts ๐Ÿ”’
raw_contract_units_to_human_contracts ๐Ÿ”’
serialize_f64_as_string
serialize_option_f64_as_string
trading_halt_api_error ๐Ÿ”’
trading_halt_message ๐Ÿ”’
try_decimal_from_f64 ๐Ÿ”’