engage_offer
Trade against an open offer by locking the same total amount in escrow. Provide offer ID, buyer/seller profiles, amount, and trade type to execute the trade.
Instructions
Engage (trade against) an open offer. The trader locks the same totalAmount in escrow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Trade amount | |
| userId | No | Trader's external user ID. Defaults to your own user ID. | |
| offerId | Yes | Offer UUID to engage | |
| currency | Yes | Currency code matching the offer (e.g. "NGN") | |
| userName | No | Trader's display name | |
| tradeType | Yes | Your prediction: "long" (price goes up) or "short" (price goes down) | |
| userEmail | No | Trader's email for settlement notifications | |
| buyerProfileId | Yes | Buyer profile ID | |
| sellerProfileId | Yes | Seller profile ID |