<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Stock](./bitburner.stock.md) &gt; [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

