# `CCXT.BorrowInterest`
[🔗](https://github.com/ZenHive/ccxt_client/blob/main/lib/ccxt/borrow_interest.ex#L1)

Unified borrow interest data.

Represents accrued interest on a margin borrow position.

## Fields

  * `symbol` - Unified symbol (if isolated margin)
  * `currency` - Borrowed currency code
  * `interest` - Accrued interest amount
  * `interest_rate` - Interest rate as decimal
  * `amount_borrowed` - Total amount borrowed
  * `margin_mode` - "cross" or "isolated"
  * `timestamp` - Data timestamp in milliseconds
  * `datetime` - ISO 8601 datetime string
  * `info` - Raw exchange response

# `t`

```elixir
@type t() :: %CCXT.BorrowInterest{
  amount_borrowed: number() | nil,
  currency: String.t() | nil,
  datetime: String.t() | nil,
  info: map() | nil,
  interest: number() | nil,
  interest_rate: number() | nil,
  margin_mode: String.t() | nil,
  symbol: String.t() | nil,
  timestamp: integer() | nil
}
```

# `schema`

```elixir
@spec schema() :: map()
```

JSON Schema for the BorrowInterest unified type.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
