[Python] ByBit API: place a futures with a partial position closure

Discussão em 'Python' iniciado por Stack, Março 26, 2025.

  1. Stack

    Stack Membro Participativo

    My trading strategy: Short or Long. Futures contracts. Leverage: up to 10x Margin: isolated.

    I receive signals in Telegram, there is a coin, stop loss, and 4 take profits, at 30%, 50%, 10%, 10%.

    I want to buy a coin through the API, set a stop loss and 4 take profits at once (as described above).

    Who worked with this, tell me, will this method help me - https://bybit-exchange.github.io/docs/v5/position/trading-stop and how to make settings in it about partial closing of a position?

    I would be extremely grateful if you have instructions or code examples.

    I use Python and the GPT chat.

    Continue reading...

Compartilhe esta Página