Exchange rate for take profit/stop loss

Total downloads30

- Supports opening positions in opposite directions for two USDT perpetual contracts at market price, forming a free ratio/exchange rate hedging combination. - Supports backend monitoring for take profit and stop loss: supports unified take profit/stop loss for partial and full positions (the client only supports take profit and stop loss for a single position). After the user declares the ratio (ratio) of Currency A/Currency B or the combination's unrealized PnL trigger conditions, an independent Python daemon is started, polling every second, and upon hitting the condition, the code will immediately close the position. The daemon runs independently of the AI client, and closing the AI client does not affect monitoring; it only becomes ineffective when the main machine is shut down or the process is forcibly terminated.

Execution
Strategy

Updated 22 hours ago

@大作手simo0n196 followers · 2 skills
Profile

Install with one command

npx @okx_ai/okx-trade-cli@latest skill add okx-pair-spread

Download

Version history

1.02026-04-10