Merge pull request #2197 from ReeseJones/fixStockDoc

Changed setting to selling in getSaleGain
This commit is contained in:
hydroflame 2021-12-28 10:32:37 -05:00 committed by GitHub
commit d181ac4104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1045,7 +1045,7 @@ export interface TIX {
getPurchaseCost(sym: string, shares: number, posType: string): number; getPurchaseCost(sym: string, shares: number, posType: string): number;
/** /**
* Calculate profit of setting stocks. * Calculate profit of selling stocks.
* @remarks * @remarks
* RAM cost: 2 GB * RAM cost: 2 GB
* Calculates and returns how much you would gain from selling a given number of shares of a stock. * Calculates and returns how much you would gain from selling a given number of shares of a stock.