fix(swap): add --sell-param and --buy-param to order strategy create

Add CLI options and StrategyCreateParams fields for sell_param and
buy_param, which were documented in SKILL.md but missing from the
source. Reuses the existing TradeParam interface.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
David Lau
2026-06-05 12:04:47 +08:00
co-authored by Claude Sonnet 4.6
parent f5442f6247
commit ca51ee6a7a
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -150,6 +150,8 @@ export interface StrategyCreateParams {
custom_rpc?: string;
condition_orders?: StrategyConditionOrder[];
quote_investment?: string;
sell_param?: TradeParam;
buy_param?: TradeParam;
}
export interface StrategyCancelParams {