MarketMakingClient
The MarketMakingClient handles quote submission and management for market makers.
Submitting Quotes
quote = await client.market_making.submit_quote(
asset="BTC",
bid_price=49900.00,
ask_price=50100.00,
bid_size=5.0,
ask_size=5.0,
valid_for_seconds=30
)
Updating Quotes
quote = await client.market_making.update_quote(
quote_id=quote.id,
bid_price=49950.00,
ask_price=50050.00
)
Cancelling Quotes
quote = await client.market_making.cancel_quote("quote_id")
cancelled = await client.market_making.cancel_all_quotes()
Querying Quotes
quote = await client.market_making.get_quote("quote_id")
active = await client.market_making.get_active_quotes()