> For the complete documentation index, see [llms.txt](https://docs.insilicoterminal.com/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.insilicoterminal.com/documentation/execution-panel/margin-leverage-control.md).

# Margin / Leverage Control

Always present on the Execution panel. Press the Confirm button after changing leverage / type.&#x20;

Note: Bybit has independent leverage settings for Long and Short positions. If you want want to switch to Cross but encounter the error: "You have existing positions/orders in opposing directions with different leverage settings or risk limits for the same contract under Isolated Margin" - have to go through all the markets btcusdt, ethusdt, solusdt, etc ... to find which one has mismatched buy/sell leverage and set the two leverage values to an identical value.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.insilicoterminal.com/documentation/execution-panel/margin-leverage-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
