Hummingbot Market Maker
Hummingbot Market Maker: Hummingbot Market Maker: specialized toolkit for 3+ finance workflows covered in the triggers section.
Overview
Constraints
Evidence Quality
Medium confidence — review before critical use
55 non-negotiable constraints
WHENWhen implementing position tracking for perpetual derivatives
ACTIONuse trading_pair only as the position key for ONEWAY mode and trading_pair+side for HEDGE mode
CONSEQUENCEPosition collision occurs when different position sides overwrite each other, causing incorrect position tracking and potential financial loss when orders are matched against wrong positions
WHENWhen tracking unrealized PnL in position objects
ACTIONuse Decimal type for each monetary calculations including unrealized_pnl and entry_price
CONSEQUENCEFloating-point precision errors cause incorrect PnL calculations, leading to wrong profit/loss reporting and potentially oversized orders that exceed available margin
WHENWhen validating order candidates against available balance
ACTIONcheck collateral requirements including order collateral, percent fees, and fixed fees before order execution
CONSEQUENCEOrders exceed available margin, causing immediate liquidation or forced position closure at unfavorable prices with partial loss of collateral
FAQ
Discussion (0)
No comments yet. Be the first to share!
Changelog
v0.1.0: Initial release on Doramagic.ai. Auto-generated batch-v1 metadata and FAQs based on tangweigang-jpg/doramagic-skills.