> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whitebit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Collateral Trading

> Overview of collateral (margin) trading endpoints for managing positions, leverage, and collateral orders.

Collateral trading enables leveraged trading using margin. Manage the collateral account balance, place various order types (limit, market, stop-limit, OCO), query open orders, and manage positions.

For general API conventions (base URL, error format, rate limits), see the [API Reference Overview](/api-reference/overview).

***

## Account & Balance

<CardGroup cols={2}>
  <Card title="Collateral Account Balance" icon="wallet" href="/api-reference/collateral-trading/collateral-account-balance">
    Get collateral account balance
  </Card>

  <Card title="Collateral Account Balance Summary" icon="file-invoice-dollar" href="/api-reference/collateral-trading/collateral-account-balance-summary">
    Get collateral account balance summary
  </Card>

  <Card title="Collateral Account Summary" icon="chart-pie" href="/api-reference/collateral-trading/collateral-account-summary">
    Get complete collateral account summary
  </Card>

  <Card title="Change Collateral Account Leverage" icon="sliders" href="/api-reference/collateral-trading/change-collateral-account-leverage">
    Change account leverage
  </Card>

  <Card title="Collateral Account Hedge Mode" icon="shield" href="/api-reference/collateral-trading/collateral-account-hedge-mode">
    Get hedge mode status
  </Card>

  <Card title="Update Collateral Account Hedge Mode" icon="shield-halved" href="/api-reference/collateral-trading/update-collateral-account-hedge-mode">
    Update hedge mode settings
  </Card>
</CardGroup>

***

## Order Management

<CardGroup cols={2}>
  <Card title="Collateral Limit Order" icon="chart-line" href="/api-reference/collateral-trading/collateral-limit-order">
    Create a collateral limit order
  </Card>

  <Card title="Collateral Bulk Limit Order" icon="layer-group" href="/api-reference/collateral-trading/collateral-bulk-limit-order">
    Create multiple collateral limit orders
  </Card>

  <Card title="Collateral Market Order" icon="bolt" href="/api-reference/collateral-trading/collateral-market-order">
    Create a collateral market order
  </Card>

  <Card title="Collateral Stop-Limit Order" icon="stop" href="/api-reference/collateral-trading/collateral-stop-limit-order">
    Create a collateral stop-limit order
  </Card>

  <Card title="Collateral Trigger Market Order" icon="hand" href="/api-reference/collateral-trading/collateral-trigger-market-order">
    Create a collateral trigger market order
  </Card>

  <Card title="Create Collateral OCO Order" icon="code-branch" href="/api-reference/collateral-trading/create-collateral-oco-order">
    Create OCO (One-Cancels-Other) order
  </Card>

  <Card title="Cancel Conditional Order" icon="ban" href="/api-reference/collateral-trading/cancel-conditional-order">
    Cancel a conditional order
  </Card>
</CardGroup>

***

## Order Queries

<CardGroup cols={2}>
  <Card title="Query Unexecuted Conditional Orders" icon="list" href="/api-reference/collateral-trading/query-unexecuted-conditional-orders">
    Get active conditional orders
  </Card>

  <Card title="Query Unexecuted OCO Orders" icon="code-branch" href="/api-reference/collateral-trading/query-unexecuted-oco-orders">
    Get active OCO orders
  </Card>
</CardGroup>

***

## Position Management

<CardGroup cols={2}>
  <Card title="Open Positions" icon="arrows-left-right" href="/api-reference/collateral-trading/open-positions">
    Get all open positions
  </Card>

  <Card title="Close Position" icon="door-closed" href="/api-reference/collateral-trading/close-position">
    Close a specific position
  </Card>

  <Card title="Positions History" icon="clock-rotate-left" href="/api-reference/collateral-trading/positions-history">
    Get positions history
  </Card>

  <Card title="Funding History" icon="money-bill-transfer" href="/api-reference/collateral-trading/funding-history">
    Get funding history
  </Card>
</CardGroup>
