mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-09-19 20:38:42 +02:00
25 lines
623 B
Markdown
25 lines
623 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Corporation](./bitburner.corporation.md) > [sellShares](./bitburner.corporation.sellshares.md)
|
|
|
|
## Corporation.sellShares() method
|
|
|
|
Sell Shares. Transfer shares from the CEO to public traders to receive money in the player's wallet.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
sellShares(amount: number): void;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| amount | number | Amount of shares to sell, must be integer between 1 and 100t |
|
|
|
|
**Returns:**
|
|
|
|
void
|
|
|