/** * @name tools/adrena/adrena-trading-tools * @description Trading builder tool registrations for Adrena perps: * open/close long/short, set/cancel stop loss, set/cancel take profit. * * @module tools/adrena/adrena-trading-tools */ import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import type { SapMcpContext } from '../../../core/src/types.js'; /** * @name registerAdrenaOpenLongTool * @description Register sap_adrena_build_open_long. * @internal */ export declare function registerAdrenaOpenLongTool(server: Server, context: SapMcpContext): void; /** * @name registerAdrenaOpenShortTool * @description Register sap_adrena_build_open_short. * @internal */ export declare function registerAdrenaOpenShortTool(server: Server, context: SapMcpContext): void; /** * @name registerAdrenaCloseLongTool * @description Register sap_adrena_build_close_long. * @internal */ export declare function registerAdrenaCloseLongTool(server: Server, context: SapMcpContext): void; /** * @name registerAdrenaCloseShortTool * @description Register sap_adrena_build_close_short. * @internal */ export declare function registerAdrenaCloseShortTool(server: Server, context: SapMcpContext): void; /** * @name registerAdrenaSetStopLossTool * @description Register sap_adrena_build_set_stop_loss. * @internal */ export declare function registerAdrenaSetStopLossTool(server: Server, context: SapMcpContext): void; /** * @name registerAdrenaSetTakeProfitTool * @description Register sap_adrena_build_set_take_profit. * @internal */ export declare function registerAdrenaSetTakeProfitTool(server: Server, context: SapMcpContext): void; /** * @name registerAdrenaCancelStopLossTool * @description Register sap_adrena_build_cancel_stop_loss. * @internal */ export declare function registerAdrenaCancelStopLossTool(server: Server, context: SapMcpContext): void; /** * @name registerAdrenaCancelTakeProfitTool * @description Register sap_adrena_build_cancel_take_profit. * @internal */ export declare function registerAdrenaCancelTakeProfitTool(server: Server, context: SapMcpContext): void; /** * @name registerAdrenaSimulatePositionTool * @description Register sap_adrena_simulate_position — a FREE dry-run tool that * simulates opening a perp position without building or paying for a transaction. * @internal */ export declare function registerAdrenaSimulatePositionTool(server: Server, context: SapMcpContext): void; /** * @name registerAdrenaPositionPackageTool * @description Register sap_adrena_build_position_package — batch open+SL+TP. * @internal */ export declare function registerAdrenaPositionPackageTool(server: Server, context: SapMcpContext): void; /** * @name registerAdrenaTradeIntentTool * @description Register sap_adrena_trade_intent — intent-level trading API. * Resolves mint, decimals, max leverage, collateral token automatically. * @internal */ export declare function registerAdrenaTradeIntentTool(server: Server, context: SapMcpContext): void; /** * @name registerAdrenaTrailingStopTool * @description Register sap_adrena_build_trailing_stop. * * Reads the current oracle price for the market, computes a trailing stop * at the specified percentage distance from current price, and builds a * setStopLoss instruction. For longs: SL below price. For shorts: SL above price. * * @internal */ export declare function registerAdrenaTrailingStopTool(server: Server, context: SapMcpContext): void; /** * @name registerAdrenaModifyPositionTool * @description Register sap_adrena_build_modify_position. * * Builds an openOrIncreasePosition instruction to add collateral to an * existing position. This effectively modifies the position by increasing * its collateral (and optionally changing leverage). * * @internal */ export declare function registerAdrenaModifyPositionTool(server: Server, context: SapMcpContext): void; //# sourceMappingURL=adrena-trading-tools.d.ts.map