2021-10-30 18:34:14 +02:00
|
|
|
|
<!-- 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
|
|
|
|
|
|
2021-10-30 21:46:34 +02:00
|
|
|
|
RAM cost: 2 GB
|
2021-10-30 18:34:14 +02:00
|
|
|
|
|