bitburner-src/markdown/bitburner.tix.getaskprice.md

31 lines
689 B
Markdown
Raw Normal View History

2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [TIX](./bitburner.tix.md) &gt; [getAskPrice](./bitburner.tix.getaskprice.md)
## TIX.getAskPrice() method
Given a stocks symbol (NOT the company name), returns the ask price of that stock. The symbol is a sequence of two to four capital letters.
<b>Signature:</b>
```typescript
getAskPrice(sym: StockSymbol): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. |
<b>Returns:</b>
number
The ask price of a stock.
## Remarks
2021-10-30 21:46:34 +02:00
RAM cost: 2 GB
2021-10-30 18:34:14 +02:00