Files
OpenBB/website/content/terminal/reference/stocks/dps/ctb.md
DidierRLopes 4ad995fdd0 Docs/terminalpro and improvement (#5622)
* add first iteration of content for Terminal Pro

* Update index.md

* Update dashboards.md

* Update folders.md

* Update grouping.md

* Update report.md

* Update templates.md

* Update quick-start.md

* Update index.md

* Update index.md

* Update home.md

* Update news.md

* Update index.md

* Update index.md

* Update index.md

* Update data-provider.md

* Update chat-with-widget.md

* Update data-manipulation.md

* Update forecasting.md

* fix: images self closing tags

* fix: only pro visitors can see pro

* inter font

* improve SEO content and restructuring

* add new package for toggle on tutorials

* move folder around

* improve main page of each prod

* small updates and improvements

* fix logo above

* small improvement in headtitle for portfolio funcs

* fix typos from OpenAI's GPT-4

* fix _category_ json

* remove generic SEO words

* add script that generates SEO for documentation

* add missing file

* remove sdk warning message

* fix links for andrew

---------

Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
2023-10-30 21:01:29 +00:00

90 lines
4.1 KiB
Markdown
Vendored
Raw Blame History

---
title: ctb
description: This page provides a detailed overview on how to show the cost to borrow
of stocks using the ctb function. It includes usage, parameters, and examples, helping
users to effectively retrieve and manage data.
keywords:
- ctb function
- cost to borrow
- stock data
- Interactive Broker
- record retrieval
- data management
- Stocksera
---
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
<HeadTitle title="stocks/dps/ctb - Reference | OpenBB Terminal Docs" />
Show cost to borrow of stocks. [Source: Stocksera/Interactive Broker]
### Usage
```python
ctb [-n NUMBER] [--raw]
```
---
## Parameters
| Name | Description | Default | Optional | Choices |
| ---- | ----------- | ------- | -------- | ------- |
| number | Number of records to retrieve. | 20 | True | None |
| raw | Print raw data. | False | True | None |
---
## Examples
```python
2022 Apr 07, 09:47 (<EFBFBD>) /stocks/dps/ $ ctb
Highest Cost to Borrow
┌─────────┬───────────┬───────────┐
│ Symbol │ Fees │ Available │
├─────────┼───────────┼───────────┤
│ PIK │ 457.4402% │ 7000 │
├─────────┼───────────┼───────────┤
│ EVTL │ 413.7294% │ 10000 │
├─────────┼───────────┼───────────┤
│ CELZ │ 330.9411% │ 100000 │
├─────────┼───────────┼───────────┤
│ DRCT │ 304.9628% │ 300000 │
├─────────┼───────────┼───────────┤
│ MYNZ │ 291.8163% │ 3000 │
├─────────┼───────────┼───────────┤
│ DCFC │ 279.0673% │ 10000 │
├─────────┼───────────┼───────────┤
│ FGFPP │ 278.422% │ 8000 │
├─────────┼───────────┼───────────┤
│ ZTEK │ 250.0307% │ 75000 │
├─────────┼───────────┼───────────┤
│ FRGE │ 245.1883% │ 700 │
├─────────┼───────────┼───────────┤
│ SATL │ 240.7341% │ 500 │
├─────────┼───────────┼───────────┤
│ ARMR │ 240.5414% │ 5000 │
├─────────┼───────────┼───────────┤
│ PILL │ 223.538% │ 55000 │
├─────────┼───────────┼───────────┤
│ ARQQ │ 217.3978% │ 3000 │
├─────────┼───────────┼───────────┤
│ NRSN │ 216.9888% │ 6000 │
├─────────┼───────────┼───────────┤
│ ZIONL │ 215.2871% │ 35000 │
├─────────┼───────────┼───────────┤
│ BLBX │ 213.441% │ 15000 │
├─────────┼───────────┼───────────┤
│ WINSF │ 212.907% │ 10000 │
├─────────┼───────────┼───────────┤
│ SKYH │ 206.7746% │ 25000 │
├─────────┼───────────┼───────────┤
│ SOHON │ 205.1096% │ 40000 │
├─────────┼───────────┼───────────┤
│ MH PRA │ 202.1235% │ 100000 │
└─────────┴───────────┴───────────┘
```
---