mirror of
https://github.com/GMGNAI/gmgn-skills.git
synced 2026-08-20 03:28:08 +00:00
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:
co-authored by
Claude Sonnet 4.6
parent
f5442f6247
commit
ca51ee6a7a
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user