diff --git a/protocol/0080-SPOT-product_builtin_spot.md b/protocol/0080-SPOT-product_builtin_spot.md index b872f6892..6906f3764 100644 --- a/protocol/0080-SPOT-product_builtin_spot.md +++ b/protocol/0080-SPOT-product_builtin_spot.md @@ -121,6 +121,12 @@ Price-monitoring auctions are still required and should be implemented following 1. If a "sell" order does not trade immediately (or only trades in part), an amount of the base_asset should be transferred to a holding_account to cover the remaining size of the order for the base_asset.(0080-SPOT-009) 1. If a "sell" order incurs fees through trading, the required amount of the quote_asset to cover the fees will be deducted from the total quote_asset resulting from the sale of the base_asset.(0080-SPOT-010) 1. For a "buy" order to be considered valid during continuous trading, the party must have a sufficient amount of the `quote_asset` in the `general_account` to cover the value of the trade as well as any possible fees incurred as a result of the order trading immediately (the aggressor).(0080-SPOT-012) +1. For a "buy" market order to be considered valid during continuous trading, the party must have a sufficient amount of the `quote_asset` in the `general_account` to cover the value of the trade as well as any possible fees incurred as a result of the order trading immediately (the aggressor).(0080-SPOT-024) +1. For a "sell" market order to be considered valid during continuous trading, the party must have a sufficient amount of the `base_asset` in the `general_account` to cover the value of the trade. (0080-SPOT-025) +1. amending order should be rejected when an order is amended such that would trade immediately and the party can't afford none/some of the trades(0080-SPOT-026) +1. order should be rejected when submit a limit order, partly matched, party can't afford the trades.(0080-SPOT-027) +1. order should be rejected when submit a limit order, no match, added to the book, party can't cover the amount that needs to be transferred to the holding account.(0080-SPOT-028) +1. order should be rejected when submit a limit order, partly matched, party can afford partial trade but not what needs to be transferred to the holding account after to cover the remaining size.(0080-SPOT-029) 1. If a "buy" order does not trade immediately (or only trades in part), only the necessary amount of the quote_asset to cover the remaining size of the order should be transferred to a holding_account for the quote_asset.(0080-SPOT-013). 1. If the order is cancelled, funds should be released from the `holding_account` and returned to the `general_account`.(0080-SPOT-007) 1. If the order's size is reduced through an order amendment, funds should be released from the `holding_account` and returned to the `general_account`.(0080-SPOT-015) diff --git a/protocol/features.json b/protocol/features.json index dc0260712..46ae72e3c 100644 --- a/protocol/features.json +++ b/protocol/features.json @@ -405,7 +405,13 @@ "0079-TGAP-006", "0079-TGAP-007", "0028-GOVE-186", - "0028-GOVE-187" + "0028-GOVE-187", + "0080-SPOT-024", + "0080-SPOT-025", + "0080-SPOT-026", + "0080-SPOT-027", + "0080-SPOT-028", + "0080-SPOT-029" ] }, "Spot stop orders": {