mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
API: Rename "TIX" interface to "Stock" (#2351)
This commit is contained in:
60
markdown/bitburner.stock.getaskprice.md
Normal file
60
markdown/bitburner.stock.getaskprice.md
Normal file
@@ -0,0 +1,60 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getAskPrice](./bitburner.stock.getaskprice.md)
|
||||
|
||||
## Stock.getAskPrice() method
|
||||
|
||||
Returns the ask price of that stock.
|
||||
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
getAskPrice(sym: string): number;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
<table><thead><tr><th>
|
||||
|
||||
Parameter
|
||||
|
||||
|
||||
</th><th>
|
||||
|
||||
Type
|
||||
|
||||
|
||||
</th><th>
|
||||
|
||||
Description
|
||||
|
||||
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
sym
|
||||
|
||||
|
||||
</td><td>
|
||||
|
||||
string
|
||||
|
||||
|
||||
</td><td>
|
||||
|
||||
Stock symbol.
|
||||
|
||||
|
||||
</td></tr>
|
||||
</tbody></table>
|
||||
|
||||
**Returns:**
|
||||
|
||||
number
|
||||
|
||||
The ask price of a stock.
|
||||
|
||||
## Remarks
|
||||
|
||||
RAM cost: 2 GB
|
||||
|
||||
Reference in New Issue
Block a user