mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 13:43:49 +01:00
31 lines
679 B
Markdown
31 lines
679 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getAskPrice](./bitburner.tix.getaskprice.md)
|
||
|
||
## TIX.getAskPrice() method
|
||
|
||
Given a stock’s 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
|
||
|
||
2 GB
|
||
|