mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
feat: update dependencies and add ccxt documentation for new features
This commit is contained in:
@@ -19,9 +19,6 @@ function applyCommonFields(params: CreateOrderParams, intent: BaseOrderIntent):
|
||||
if (intent.reduceOnly !== undefined) {
|
||||
params.reduceOnly = toStringBoolean(intent.reduceOnly);
|
||||
}
|
||||
if (intent.closePosition !== undefined) {
|
||||
params.closePosition = toStringBoolean(intent.closePosition);
|
||||
}
|
||||
return params;
|
||||
}
|
||||
|
||||
@@ -85,4 +82,3 @@ export async function createClosePositionOrder(intent: ClosePositionIntent): Pro
|
||||
);
|
||||
return intent.adapter.createOrder(params);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user