diff --git a/markdown/bitburner.md b/markdown/bitburner.md index 08e350e1a..cd3492e2c 100644 --- a/markdown/bitburner.md +++ b/markdown/bitburner.md @@ -1258,6 +1258,17 @@ Player must have this Source File. Stanek's Gift API. + + + +[Stock](./bitburner.stock.md) + + + + +Stock market API + + @@ -1300,17 +1311,6 @@ Study - - - -[TIX](./bitburner.tix.md) - - - - -Stock market API - - diff --git a/markdown/bitburner.ns.md b/markdown/bitburner.ns.md index bb95d3d65..04514b1c5 100644 --- a/markdown/bitburner.ns.md +++ b/markdown/bitburner.ns.md @@ -413,12 +413,12 @@ Namespace for [Stanek](./bitburner.stanek.md) functions. Contains spoilers. -[TIX](./bitburner.tix.md) +[Stock](./bitburner.stock.md) -Namespace for [stock](./bitburner.tix.md) functions. +Namespace for [stock](./bitburner.stock.md) functions. diff --git a/markdown/bitburner.ns.stock.md b/markdown/bitburner.ns.stock.md index 09bbe056b..bc736a51f 100644 --- a/markdown/bitburner.ns.stock.md +++ b/markdown/bitburner.ns.stock.md @@ -4,12 +4,12 @@ ## NS.stock property -Namespace for [stock](./bitburner.tix.md) functions. +Namespace for [stock](./bitburner.stock.md) functions. **Signature:** ```typescript -readonly stock: TIX; +readonly stock: Stock; ``` ## Remarks diff --git a/markdown/bitburner.tix.buyshort.md b/markdown/bitburner.stock.buyshort.md similarity index 88% rename from markdown/bitburner.tix.buyshort.md rename to markdown/bitburner.stock.buyshort.md index 9fb93b86e..47008f4fc 100644 --- a/markdown/bitburner.tix.buyshort.md +++ b/markdown/bitburner.stock.buyshort.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [buyShort](./bitburner.tix.buyshort.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [buyShort](./bitburner.stock.buyshort.md) -## TIX.buyShort() method +## Stock.buyShort() method Short stocks. diff --git a/markdown/bitburner.tix.buystock.md b/markdown/bitburner.stock.buystock.md similarity index 87% rename from markdown/bitburner.tix.buystock.md rename to markdown/bitburner.stock.buystock.md index 9ae0049d2..ce26af1c5 100644 --- a/markdown/bitburner.tix.buystock.md +++ b/markdown/bitburner.stock.buystock.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [buyStock](./bitburner.tix.buystock.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [buyStock](./bitburner.stock.buystock.md) -## TIX.buyStock() method +## Stock.buyStock() method Buy stocks. diff --git a/markdown/bitburner.tix.cancelorder.md b/markdown/bitburner.stock.cancelorder.md similarity index 88% rename from markdown/bitburner.tix.cancelorder.md rename to markdown/bitburner.stock.cancelorder.md index d28561901..d6a606769 100644 --- a/markdown/bitburner.tix.cancelorder.md +++ b/markdown/bitburner.stock.cancelorder.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [cancelOrder](./bitburner.tix.cancelorder.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [cancelOrder](./bitburner.stock.cancelorder.md) -## TIX.cancelOrder() method +## Stock.cancelOrder() method Cancel order for stocks. diff --git a/markdown/bitburner.tix.getaskprice.md b/markdown/bitburner.stock.getaskprice.md similarity index 73% rename from markdown/bitburner.tix.getaskprice.md rename to markdown/bitburner.stock.getaskprice.md index b6304a589..f7d307d6d 100644 --- a/markdown/bitburner.tix.getaskprice.md +++ b/markdown/bitburner.stock.getaskprice.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getAskPrice](./bitburner.tix.getaskprice.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getAskPrice](./bitburner.stock.getaskprice.md) -## TIX.getAskPrice() method +## Stock.getAskPrice() method Returns the ask price of that stock. diff --git a/markdown/bitburner.tix.getbidprice.md b/markdown/bitburner.stock.getbidprice.md similarity index 73% rename from markdown/bitburner.tix.getbidprice.md rename to markdown/bitburner.stock.getbidprice.md index a51807c0d..6b958d950 100644 --- a/markdown/bitburner.tix.getbidprice.md +++ b/markdown/bitburner.stock.getbidprice.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getBidPrice](./bitburner.tix.getbidprice.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getBidPrice](./bitburner.stock.getbidprice.md) -## TIX.getBidPrice() method +## Stock.getBidPrice() method Returns the bid price of that stock. diff --git a/markdown/bitburner.tix.getbonustime.md b/markdown/bitburner.stock.getbonustime.md similarity index 73% rename from markdown/bitburner.tix.getbonustime.md rename to markdown/bitburner.stock.getbonustime.md index 49219d821..f2fd62c73 100644 --- a/markdown/bitburner.tix.getbonustime.md +++ b/markdown/bitburner.stock.getbonustime.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getBonusTime](./bitburner.tix.getbonustime.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getBonusTime](./bitburner.stock.getbonustime.md) -## TIX.getBonusTime() method +## Stock.getBonusTime() method Get Stock Market bonus time. diff --git a/markdown/bitburner.tix.getconstants.md b/markdown/bitburner.stock.getconstants.md similarity index 64% rename from markdown/bitburner.tix.getconstants.md rename to markdown/bitburner.stock.getconstants.md index 49c6bc211..5199b9c13 100644 --- a/markdown/bitburner.tix.getconstants.md +++ b/markdown/bitburner.stock.getconstants.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getConstants](./bitburner.tix.getconstants.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getConstants](./bitburner.stock.getconstants.md) -## TIX.getConstants() method +## Stock.getConstants() method Get game constants for the stock market mechanic. diff --git a/markdown/bitburner.tix.getforecast.md b/markdown/bitburner.stock.getforecast.md similarity index 86% rename from markdown/bitburner.tix.getforecast.md rename to markdown/bitburner.stock.getforecast.md index bee59f952..ee02c95d2 100644 --- a/markdown/bitburner.tix.getforecast.md +++ b/markdown/bitburner.stock.getforecast.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getForecast](./bitburner.tix.getforecast.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getForecast](./bitburner.stock.getforecast.md) -## TIX.getForecast() method +## Stock.getForecast() method Returns the probability that the specified stock’s price will increase (as opposed to decrease) during the next tick. diff --git a/markdown/bitburner.tix.getmaxshares.md b/markdown/bitburner.stock.getmaxshares.md similarity index 78% rename from markdown/bitburner.tix.getmaxshares.md rename to markdown/bitburner.stock.getmaxshares.md index 9def59552..d8c167c4c 100644 --- a/markdown/bitburner.tix.getmaxshares.md +++ b/markdown/bitburner.stock.getmaxshares.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getMaxShares](./bitburner.tix.getmaxshares.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getMaxShares](./bitburner.stock.getmaxshares.md) -## TIX.getMaxShares() method +## Stock.getMaxShares() method Returns the maximum number of shares of a stock. diff --git a/markdown/bitburner.tix.getorders.md b/markdown/bitburner.stock.getorders.md similarity index 92% rename from markdown/bitburner.tix.getorders.md rename to markdown/bitburner.stock.getorders.md index d8b463847..b93c27f2f 100644 --- a/markdown/bitburner.tix.getorders.md +++ b/markdown/bitburner.stock.getorders.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getOrders](./bitburner.tix.getorders.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getOrders](./bitburner.stock.getorders.md) -## TIX.getOrders() method +## Stock.getOrders() method Returns your order book for the stock market. diff --git a/markdown/bitburner.tix.getorganization.md b/markdown/bitburner.stock.getorganization.md similarity index 84% rename from markdown/bitburner.tix.getorganization.md rename to markdown/bitburner.stock.getorganization.md index 2de55c1a2..55f44fcd3 100644 --- a/markdown/bitburner.tix.getorganization.md +++ b/markdown/bitburner.stock.getorganization.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getOrganization](./bitburner.tix.getorganization.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getOrganization](./bitburner.stock.getorganization.md) -## TIX.getOrganization() method +## Stock.getOrganization() method Returns the organization associated with a stock symbol. diff --git a/markdown/bitburner.tix.getposition.md b/markdown/bitburner.stock.getposition.md similarity index 88% rename from markdown/bitburner.tix.getposition.md rename to markdown/bitburner.stock.getposition.md index 4509347db..c3cef1c62 100644 --- a/markdown/bitburner.tix.getposition.md +++ b/markdown/bitburner.stock.getposition.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getPosition](./bitburner.tix.getposition.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getPosition](./bitburner.stock.getposition.md) -## TIX.getPosition() method +## Stock.getPosition() method Returns the player’s position in a stock. diff --git a/markdown/bitburner.tix.getprice.md b/markdown/bitburner.stock.getprice.md similarity index 85% rename from markdown/bitburner.tix.getprice.md rename to markdown/bitburner.stock.getprice.md index f0aa6b358..d0276420d 100644 --- a/markdown/bitburner.tix.getprice.md +++ b/markdown/bitburner.stock.getprice.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getPrice](./bitburner.tix.getprice.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getPrice](./bitburner.stock.getprice.md) -## TIX.getPrice() method +## Stock.getPrice() method Returns the price of a stock. diff --git a/markdown/bitburner.tix.getpurchasecost.md b/markdown/bitburner.stock.getpurchasecost.md similarity index 84% rename from markdown/bitburner.tix.getpurchasecost.md rename to markdown/bitburner.stock.getpurchasecost.md index 7db3af3c1..867480b96 100644 --- a/markdown/bitburner.tix.getpurchasecost.md +++ b/markdown/bitburner.stock.getpurchasecost.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getPurchaseCost](./bitburner.tix.getpurchasecost.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getPurchaseCost](./bitburner.stock.getpurchasecost.md) -## TIX.getPurchaseCost() method +## Stock.getPurchaseCost() method Calculates cost of buying stocks. diff --git a/markdown/bitburner.tix.getsalegain.md b/markdown/bitburner.stock.getsalegain.md similarity index 85% rename from markdown/bitburner.tix.getsalegain.md rename to markdown/bitburner.stock.getsalegain.md index 3ef21e612..2f72ef1d5 100644 --- a/markdown/bitburner.tix.getsalegain.md +++ b/markdown/bitburner.stock.getsalegain.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getSaleGain](./bitburner.tix.getsalegain.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getSaleGain](./bitburner.stock.getsalegain.md) -## TIX.getSaleGain() method +## Stock.getSaleGain() method Calculate profit of selling stocks. diff --git a/markdown/bitburner.tix.getsymbols.md b/markdown/bitburner.stock.getsymbols.md similarity index 64% rename from markdown/bitburner.tix.getsymbols.md rename to markdown/bitburner.stock.getsymbols.md index 164d0b6fd..7f48d53e6 100644 --- a/markdown/bitburner.tix.getsymbols.md +++ b/markdown/bitburner.stock.getsymbols.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getSymbols](./bitburner.tix.getsymbols.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getSymbols](./bitburner.stock.getsymbols.md) -## TIX.getSymbols() method +## Stock.getSymbols() method Returns an array of the symbols of the tradable stocks diff --git a/markdown/bitburner.tix.getvolatility.md b/markdown/bitburner.stock.getvolatility.md similarity index 82% rename from markdown/bitburner.tix.getvolatility.md rename to markdown/bitburner.stock.getvolatility.md index b287d20a3..53e062292 100644 --- a/markdown/bitburner.tix.getvolatility.md +++ b/markdown/bitburner.stock.getvolatility.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getVolatility](./bitburner.tix.getvolatility.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [getVolatility](./bitburner.stock.getvolatility.md) -## TIX.getVolatility() method +## Stock.getVolatility() method Returns the volatility of the specified stock. diff --git a/markdown/bitburner.tix.has4sdata.md b/markdown/bitburner.stock.has4sdata.md similarity index 60% rename from markdown/bitburner.tix.has4sdata.md rename to markdown/bitburner.stock.has4sdata.md index 2a8aeb689..880b43f70 100644 --- a/markdown/bitburner.tix.has4sdata.md +++ b/markdown/bitburner.stock.has4sdata.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [has4SData](./bitburner.tix.has4sdata.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [has4SData](./bitburner.stock.has4sdata.md) -## TIX.has4SData() method +## Stock.has4SData() method Returns true if the player has access to the 4S Data diff --git a/markdown/bitburner.tix.has4sdatatixapi.md b/markdown/bitburner.stock.has4sdatatixapi.md similarity index 58% rename from markdown/bitburner.tix.has4sdatatixapi.md rename to markdown/bitburner.stock.has4sdatatixapi.md index 096c21e1c..979e17dda 100644 --- a/markdown/bitburner.tix.has4sdatatixapi.md +++ b/markdown/bitburner.stock.has4sdatatixapi.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [has4SDataTixApi](./bitburner.tix.has4sdatatixapi.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [has4SDataTixApi](./bitburner.stock.has4sdatatixapi.md) -## TIX.has4SDataTixApi() method +## Stock.has4SDataTixApi() method Returns true if the player has access to the 4SData TIX API diff --git a/markdown/bitburner.tix.hastixapiaccess.md b/markdown/bitburner.stock.hastixapiaccess.md similarity index 58% rename from markdown/bitburner.tix.hastixapiaccess.md rename to markdown/bitburner.stock.hastixapiaccess.md index e2a3d9ffe..54c9903e1 100644 --- a/markdown/bitburner.tix.hastixapiaccess.md +++ b/markdown/bitburner.stock.hastixapiaccess.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [hasTixApiAccess](./bitburner.tix.hastixapiaccess.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [hasTixApiAccess](./bitburner.stock.hastixapiaccess.md) -## TIX.hasTixApiAccess() method +## Stock.hasTixApiAccess() method Returns true if the player has access to the TIX API diff --git a/markdown/bitburner.tix.haswseaccount.md b/markdown/bitburner.stock.haswseaccount.md similarity index 59% rename from markdown/bitburner.tix.haswseaccount.md rename to markdown/bitburner.stock.haswseaccount.md index b0fe59487..a6fdc5e60 100644 --- a/markdown/bitburner.tix.haswseaccount.md +++ b/markdown/bitburner.stock.haswseaccount.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [hasWseAccount](./bitburner.tix.haswseaccount.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [hasWseAccount](./bitburner.stock.haswseaccount.md) -## TIX.hasWseAccount() method +## Stock.hasWseAccount() method Returns true if the player has access to a WSE Account diff --git a/markdown/bitburner.tix.md b/markdown/bitburner.stock.md similarity index 64% rename from markdown/bitburner.tix.md rename to markdown/bitburner.stock.md index 1a18d615f..c076db2c6 100644 --- a/markdown/bitburner.tix.md +++ b/markdown/bitburner.stock.md @@ -1,15 +1,15 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) -## TIX interface +## Stock interface Stock market API **Signature:** ```typescript -export interface TIX +export interface Stock ``` ## Methods @@ -27,7 +27,7 @@ Description -[buyShort(sym, shares)](./bitburner.tix.buyshort.md) +[buyShort(sym, shares)](./bitburner.stock.buyshort.md) @@ -38,7 +38,7 @@ Short stocks. -[buyStock(sym, shares)](./bitburner.tix.buystock.md) +[buyStock(sym, shares)](./bitburner.stock.buystock.md) @@ -49,7 +49,7 @@ Buy stocks. -[cancelOrder(sym, shares, price, orderType, positionType)](./bitburner.tix.cancelorder.md) +[cancelOrder(sym, shares, price, orderType, positionType)](./bitburner.stock.cancelorder.md) @@ -60,7 +60,7 @@ Cancel order for stocks. -[getAskPrice(sym)](./bitburner.tix.getaskprice.md) +[getAskPrice(sym)](./bitburner.stock.getaskprice.md) @@ -71,7 +71,7 @@ Returns the ask price of that stock. -[getBidPrice(sym)](./bitburner.tix.getbidprice.md) +[getBidPrice(sym)](./bitburner.stock.getbidprice.md) @@ -82,7 +82,7 @@ Returns the bid price of that stock. -[getBonusTime()](./bitburner.tix.getbonustime.md) +[getBonusTime()](./bitburner.stock.getbonustime.md) @@ -93,7 +93,7 @@ Get Stock Market bonus time. -[getConstants()](./bitburner.tix.getconstants.md) +[getConstants()](./bitburner.stock.getconstants.md) @@ -104,7 +104,7 @@ Get game constants for the stock market mechanic. -[getForecast(sym)](./bitburner.tix.getforecast.md) +[getForecast(sym)](./bitburner.stock.getforecast.md) @@ -115,7 +115,7 @@ Returns the probability that the specified stock’s price will increase (as opp -[getMaxShares(sym)](./bitburner.tix.getmaxshares.md) +[getMaxShares(sym)](./bitburner.stock.getmaxshares.md) @@ -126,7 +126,7 @@ Returns the maximum number of shares of a stock. -[getOrders()](./bitburner.tix.getorders.md) +[getOrders()](./bitburner.stock.getorders.md) @@ -137,7 +137,7 @@ Returns your order book for the stock market. -[getOrganization(sym)](./bitburner.tix.getorganization.md) +[getOrganization(sym)](./bitburner.stock.getorganization.md) @@ -148,7 +148,7 @@ Returns the organization associated with a stock symbol. -[getPosition(sym)](./bitburner.tix.getposition.md) +[getPosition(sym)](./bitburner.stock.getposition.md) @@ -159,7 +159,7 @@ Returns the player’s position in a stock. -[getPrice(sym)](./bitburner.tix.getprice.md) +[getPrice(sym)](./bitburner.stock.getprice.md) @@ -170,7 +170,7 @@ Returns the price of a stock. -[getPurchaseCost(sym, shares, positionType)](./bitburner.tix.getpurchasecost.md) +[getPurchaseCost(sym, shares, positionType)](./bitburner.stock.getpurchasecost.md) @@ -181,7 +181,7 @@ Calculates cost of buying stocks. -[getSaleGain(sym, shares, positionType)](./bitburner.tix.getsalegain.md) +[getSaleGain(sym, shares, positionType)](./bitburner.stock.getsalegain.md) @@ -192,7 +192,7 @@ Calculate profit of selling stocks. -[getSymbols()](./bitburner.tix.getsymbols.md) +[getSymbols()](./bitburner.stock.getsymbols.md) @@ -203,7 +203,7 @@ Returns an array of the symbols of the tradable stocks -[getVolatility(sym)](./bitburner.tix.getvolatility.md) +[getVolatility(sym)](./bitburner.stock.getvolatility.md) @@ -214,7 +214,7 @@ Returns the volatility of the specified stock. -[has4SData()](./bitburner.tix.has4sdata.md) +[has4SData()](./bitburner.stock.has4sdata.md) @@ -225,7 +225,7 @@ Returns true if the player has access to the 4S Data -[has4SDataTixApi()](./bitburner.tix.has4sdatatixapi.md) +[has4SDataTixApi()](./bitburner.stock.has4sdatatixapi.md) @@ -236,7 +236,7 @@ Returns true if the player has access to the 4SData TIX API -[hasTixApiAccess()](./bitburner.tix.hastixapiaccess.md) +[hasTixApiAccess()](./bitburner.stock.hastixapiaccess.md) @@ -247,7 +247,7 @@ Returns true if the player has access to the TIX API -[hasWseAccount()](./bitburner.tix.haswseaccount.md) +[hasWseAccount()](./bitburner.stock.haswseaccount.md) @@ -258,7 +258,7 @@ Returns true if the player has access to a WSE Account -[nextUpdate()](./bitburner.tix.nextupdate.md) +[nextUpdate()](./bitburner.stock.nextupdate.md) @@ -269,7 +269,7 @@ Sleep until the next Stock Market price update has happened. -[placeOrder(sym, shares, price, orderType, positionType)](./bitburner.tix.placeorder.md) +[placeOrder(sym, shares, price, orderType, positionType)](./bitburner.stock.placeorder.md) @@ -280,20 +280,20 @@ Place order for stocks. -[purchase4SMarketData()](./bitburner.tix.purchase4smarketdata.md) +[purchase4SMarketData()](./bitburner.stock.purchase4smarketdata.md) Purchase 4S Market Data UI access (UI only). -You need to have a WSE account. Note that this feature only unlocks access to 4S Market Data in the Stock Market UI. If you want to access 4S Market Data via NS APIs, you have to unlock "4S Market Data TIX API access" via [purchase4SMarketDataTixApi](./bitburner.tix.purchase4smarketdatatixapi.md), which is unrelated to this feature. +You need to have a WSE account. Note that this feature only unlocks access to 4S Market Data in the Stock Market UI. If you want to access 4S Market Data via NS APIs, you have to unlock "4S Market Data TIX API access" via [purchase4SMarketDataTixApi](./bitburner.stock.purchase4smarketdatatixapi.md), which is unrelated to this feature. -[purchase4SMarketDataTixApi()](./bitburner.tix.purchase4smarketdatatixapi.md) +[purchase4SMarketDataTixApi()](./bitburner.stock.purchase4smarketdatatixapi.md) @@ -306,7 +306,7 @@ You need to have TIX API access. Note that this feature only unlocks access to 4 -[purchaseTixApi()](./bitburner.tix.purchasetixapi.md) +[purchaseTixApi()](./bitburner.stock.purchasetixapi.md) @@ -319,7 +319,7 @@ You need to have TIX API access to perform actions via NS APIs. Note that you ca -[purchaseWseAccount()](./bitburner.tix.purchasewseaccount.md) +[purchaseWseAccount()](./bitburner.stock.purchasewseaccount.md) @@ -332,7 +332,7 @@ You need to have this account to perform actions via the Stock Market UI. Note t -[sellShort(sym, shares)](./bitburner.tix.sellshort.md) +[sellShort(sym, shares)](./bitburner.stock.sellshort.md) @@ -343,7 +343,7 @@ Sell short stock. -[sellStock(sym, shares)](./bitburner.tix.sellstock.md) +[sellStock(sym, shares)](./bitburner.stock.sellstock.md) diff --git a/markdown/bitburner.tix.nextupdate.md b/markdown/bitburner.stock.nextupdate.md similarity index 79% rename from markdown/bitburner.tix.nextupdate.md rename to markdown/bitburner.stock.nextupdate.md index d5802864b..8d848dc7a 100644 --- a/markdown/bitburner.tix.nextupdate.md +++ b/markdown/bitburner.stock.nextupdate.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [nextUpdate](./bitburner.tix.nextupdate.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [nextUpdate](./bitburner.stock.nextupdate.md) -## TIX.nextUpdate() method +## Stock.nextUpdate() method Sleep until the next Stock Market price update has happened. diff --git a/markdown/bitburner.tix.placeorder.md b/markdown/bitburner.stock.placeorder.md similarity index 89% rename from markdown/bitburner.tix.placeorder.md rename to markdown/bitburner.stock.placeorder.md index 337ef8849..0dce08bfa 100644 --- a/markdown/bitburner.tix.placeorder.md +++ b/markdown/bitburner.stock.placeorder.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [placeOrder](./bitburner.tix.placeorder.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [placeOrder](./bitburner.stock.placeorder.md) -## TIX.placeOrder() method +## Stock.placeOrder() method Place order for stocks. diff --git a/markdown/bitburner.tix.purchase4smarketdata.md b/markdown/bitburner.stock.purchase4smarketdata.md similarity index 67% rename from markdown/bitburner.tix.purchase4smarketdata.md rename to markdown/bitburner.stock.purchase4smarketdata.md index 463936a38..813ac2a17 100644 --- a/markdown/bitburner.tix.purchase4smarketdata.md +++ b/markdown/bitburner.stock.purchase4smarketdata.md @@ -1,12 +1,12 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [purchase4SMarketData](./bitburner.tix.purchase4smarketdata.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [purchase4SMarketData](./bitburner.stock.purchase4smarketdata.md) -## TIX.purchase4SMarketData() method +## Stock.purchase4SMarketData() method Purchase 4S Market Data UI access (UI only). -You need to have a WSE account. Note that this feature only unlocks access to 4S Market Data in the Stock Market UI. If you want to access 4S Market Data via NS APIs, you have to unlock "4S Market Data TIX API access" via [purchase4SMarketDataTixApi](./bitburner.tix.purchase4smarketdatatixapi.md), which is unrelated to this feature. +You need to have a WSE account. Note that this feature only unlocks access to 4S Market Data in the Stock Market UI. If you want to access 4S Market Data via NS APIs, you have to unlock "4S Market Data TIX API access" via [purchase4SMarketDataTixApi](./bitburner.stock.purchase4smarketdatatixapi.md), which is unrelated to this feature. **Signature:** diff --git a/markdown/bitburner.tix.purchase4smarketdatatixapi.md b/markdown/bitburner.stock.purchase4smarketdatatixapi.md similarity index 68% rename from markdown/bitburner.tix.purchase4smarketdatatixapi.md rename to markdown/bitburner.stock.purchase4smarketdatatixapi.md index 2654a219f..bb55d7b9f 100644 --- a/markdown/bitburner.tix.purchase4smarketdatatixapi.md +++ b/markdown/bitburner.stock.purchase4smarketdatatixapi.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [purchase4SMarketDataTixApi](./bitburner.tix.purchase4smarketdatatixapi.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [purchase4SMarketDataTixApi](./bitburner.stock.purchase4smarketdatatixapi.md) -## TIX.purchase4SMarketDataTixApi() method +## Stock.purchase4SMarketDataTixApi() method Purchase 4S Market Data TIX API access (NS APIs only). diff --git a/markdown/bitburner.tix.purchasetixapi.md b/markdown/bitburner.stock.purchasetixapi.md similarity index 70% rename from markdown/bitburner.tix.purchasetixapi.md rename to markdown/bitburner.stock.purchasetixapi.md index 099a147cc..b8a08e9a9 100644 --- a/markdown/bitburner.tix.purchasetixapi.md +++ b/markdown/bitburner.stock.purchasetixapi.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [purchaseTixApi](./bitburner.tix.purchasetixapi.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [purchaseTixApi](./bitburner.stock.purchasetixapi.md) -## TIX.purchaseTixApi() method +## Stock.purchaseTixApi() method Purchase TIX API access. diff --git a/markdown/bitburner.tix.purchasewseaccount.md b/markdown/bitburner.stock.purchasewseaccount.md similarity index 72% rename from markdown/bitburner.tix.purchasewseaccount.md rename to markdown/bitburner.stock.purchasewseaccount.md index b7706973e..b568fef7c 100644 --- a/markdown/bitburner.tix.purchasewseaccount.md +++ b/markdown/bitburner.stock.purchasewseaccount.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [purchaseWseAccount](./bitburner.tix.purchasewseaccount.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [purchaseWseAccount](./bitburner.stock.purchasewseaccount.md) -## TIX.purchaseWseAccount() method +## Stock.purchaseWseAccount() method Purchase a WSE account. diff --git a/markdown/bitburner.tix.sellshort.md b/markdown/bitburner.stock.sellshort.md similarity index 88% rename from markdown/bitburner.tix.sellshort.md rename to markdown/bitburner.stock.sellshort.md index 3e8e73f32..d9de0bcd2 100644 --- a/markdown/bitburner.tix.sellshort.md +++ b/markdown/bitburner.stock.sellshort.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [sellShort](./bitburner.tix.sellshort.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [sellShort](./bitburner.stock.sellshort.md) -## TIX.sellShort() method +## Stock.sellShort() method Sell short stock. diff --git a/markdown/bitburner.tix.sellstock.md b/markdown/bitburner.stock.sellstock.md similarity index 88% rename from markdown/bitburner.tix.sellstock.md rename to markdown/bitburner.stock.sellstock.md index 544f4f6fb..3dc9a8abf 100644 --- a/markdown/bitburner.tix.sellstock.md +++ b/markdown/bitburner.stock.sellstock.md @@ -1,8 +1,8 @@ -[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [sellStock](./bitburner.tix.sellstock.md) +[Home](./index.md) > [bitburner](./bitburner.md) > [Stock](./bitburner.stock.md) > [sellStock](./bitburner.stock.sellstock.md) -## TIX.sellStock() method +## Stock.sellStock() method Sell stocks. diff --git a/src/Documentation/pages.ts b/src/Documentation/pages.ts index cd2b8c9df..a3c49328e 100644 --- a/src/Documentation/pages.ts +++ b/src/Documentation/pages.ts @@ -1338,6 +1338,36 @@ import nsDoc_bitburner_stanek_giftwidth_md from "../../markdown/bitburner.stanek import nsDoc_bitburner_stanek_md from "../../markdown/bitburner.stanek.md?raw"; import nsDoc_bitburner_stanek_placefragment_md from "../../markdown/bitburner.stanek.placefragment.md?raw"; import nsDoc_bitburner_stanek_removefragment_md from "../../markdown/bitburner.stanek.removefragment.md?raw"; +import nsDoc_bitburner_stock_buyshort_md from "../../markdown/bitburner.stock.buyshort.md?raw"; +import nsDoc_bitburner_stock_buystock_md from "../../markdown/bitburner.stock.buystock.md?raw"; +import nsDoc_bitburner_stock_cancelorder_md from "../../markdown/bitburner.stock.cancelorder.md?raw"; +import nsDoc_bitburner_stock_getaskprice_md from "../../markdown/bitburner.stock.getaskprice.md?raw"; +import nsDoc_bitburner_stock_getbidprice_md from "../../markdown/bitburner.stock.getbidprice.md?raw"; +import nsDoc_bitburner_stock_getbonustime_md from "../../markdown/bitburner.stock.getbonustime.md?raw"; +import nsDoc_bitburner_stock_getconstants_md from "../../markdown/bitburner.stock.getconstants.md?raw"; +import nsDoc_bitburner_stock_getforecast_md from "../../markdown/bitburner.stock.getforecast.md?raw"; +import nsDoc_bitburner_stock_getmaxshares_md from "../../markdown/bitburner.stock.getmaxshares.md?raw"; +import nsDoc_bitburner_stock_getorders_md from "../../markdown/bitburner.stock.getorders.md?raw"; +import nsDoc_bitburner_stock_getorganization_md from "../../markdown/bitburner.stock.getorganization.md?raw"; +import nsDoc_bitburner_stock_getposition_md from "../../markdown/bitburner.stock.getposition.md?raw"; +import nsDoc_bitburner_stock_getprice_md from "../../markdown/bitburner.stock.getprice.md?raw"; +import nsDoc_bitburner_stock_getpurchasecost_md from "../../markdown/bitburner.stock.getpurchasecost.md?raw"; +import nsDoc_bitburner_stock_getsalegain_md from "../../markdown/bitburner.stock.getsalegain.md?raw"; +import nsDoc_bitburner_stock_getsymbols_md from "../../markdown/bitburner.stock.getsymbols.md?raw"; +import nsDoc_bitburner_stock_getvolatility_md from "../../markdown/bitburner.stock.getvolatility.md?raw"; +import nsDoc_bitburner_stock_has4sdata_md from "../../markdown/bitburner.stock.has4sdata.md?raw"; +import nsDoc_bitburner_stock_has4sdatatixapi_md from "../../markdown/bitburner.stock.has4sdatatixapi.md?raw"; +import nsDoc_bitburner_stock_hastixapiaccess_md from "../../markdown/bitburner.stock.hastixapiaccess.md?raw"; +import nsDoc_bitburner_stock_haswseaccount_md from "../../markdown/bitburner.stock.haswseaccount.md?raw"; +import nsDoc_bitburner_stock_md from "../../markdown/bitburner.stock.md?raw"; +import nsDoc_bitburner_stock_nextupdate_md from "../../markdown/bitburner.stock.nextupdate.md?raw"; +import nsDoc_bitburner_stock_placeorder_md from "../../markdown/bitburner.stock.placeorder.md?raw"; +import nsDoc_bitburner_stock_purchase4smarketdata_md from "../../markdown/bitburner.stock.purchase4smarketdata.md?raw"; +import nsDoc_bitburner_stock_purchase4smarketdatatixapi_md from "../../markdown/bitburner.stock.purchase4smarketdatatixapi.md?raw"; +import nsDoc_bitburner_stock_purchasetixapi_md from "../../markdown/bitburner.stock.purchasetixapi.md?raw"; +import nsDoc_bitburner_stock_purchasewseaccount_md from "../../markdown/bitburner.stock.purchasewseaccount.md?raw"; +import nsDoc_bitburner_stock_sellshort_md from "../../markdown/bitburner.stock.sellshort.md?raw"; +import nsDoc_bitburner_stock_sellstock_md from "../../markdown/bitburner.stock.sellstock.md?raw"; import nsDoc_bitburner_stockmarketconstants_marketdata4scost_md from "../../markdown/bitburner.stockmarketconstants.marketdata4scost.md?raw"; import nsDoc_bitburner_stockmarketconstants_marketdatatixapi4scost_md from "../../markdown/bitburner.stockmarketconstants.marketdatatixapi4scost.md?raw"; import nsDoc_bitburner_stockmarketconstants_md from "../../markdown/bitburner.stockmarketconstants.md?raw"; @@ -1363,36 +1393,6 @@ import nsDoc_bitburner_tailproperties_width_md from "../../markdown/bitburner.ta import nsDoc_bitburner_tailproperties_x_md from "../../markdown/bitburner.tailproperties.x.md?raw"; import nsDoc_bitburner_tailproperties_y_md from "../../markdown/bitburner.tailproperties.y.md?raw"; import nsDoc_bitburner_task_md from "../../markdown/bitburner.task.md?raw"; -import nsDoc_bitburner_tix_buyshort_md from "../../markdown/bitburner.tix.buyshort.md?raw"; -import nsDoc_bitburner_tix_buystock_md from "../../markdown/bitburner.tix.buystock.md?raw"; -import nsDoc_bitburner_tix_cancelorder_md from "../../markdown/bitburner.tix.cancelorder.md?raw"; -import nsDoc_bitburner_tix_getaskprice_md from "../../markdown/bitburner.tix.getaskprice.md?raw"; -import nsDoc_bitburner_tix_getbidprice_md from "../../markdown/bitburner.tix.getbidprice.md?raw"; -import nsDoc_bitburner_tix_getbonustime_md from "../../markdown/bitburner.tix.getbonustime.md?raw"; -import nsDoc_bitburner_tix_getconstants_md from "../../markdown/bitburner.tix.getconstants.md?raw"; -import nsDoc_bitburner_tix_getforecast_md from "../../markdown/bitburner.tix.getforecast.md?raw"; -import nsDoc_bitburner_tix_getmaxshares_md from "../../markdown/bitburner.tix.getmaxshares.md?raw"; -import nsDoc_bitburner_tix_getorders_md from "../../markdown/bitburner.tix.getorders.md?raw"; -import nsDoc_bitburner_tix_getorganization_md from "../../markdown/bitburner.tix.getorganization.md?raw"; -import nsDoc_bitburner_tix_getposition_md from "../../markdown/bitburner.tix.getposition.md?raw"; -import nsDoc_bitburner_tix_getprice_md from "../../markdown/bitburner.tix.getprice.md?raw"; -import nsDoc_bitburner_tix_getpurchasecost_md from "../../markdown/bitburner.tix.getpurchasecost.md?raw"; -import nsDoc_bitburner_tix_getsalegain_md from "../../markdown/bitburner.tix.getsalegain.md?raw"; -import nsDoc_bitburner_tix_getsymbols_md from "../../markdown/bitburner.tix.getsymbols.md?raw"; -import nsDoc_bitburner_tix_getvolatility_md from "../../markdown/bitburner.tix.getvolatility.md?raw"; -import nsDoc_bitburner_tix_has4sdata_md from "../../markdown/bitburner.tix.has4sdata.md?raw"; -import nsDoc_bitburner_tix_has4sdatatixapi_md from "../../markdown/bitburner.tix.has4sdatatixapi.md?raw"; -import nsDoc_bitburner_tix_hastixapiaccess_md from "../../markdown/bitburner.tix.hastixapiaccess.md?raw"; -import nsDoc_bitburner_tix_haswseaccount_md from "../../markdown/bitburner.tix.haswseaccount.md?raw"; -import nsDoc_bitburner_tix_md from "../../markdown/bitburner.tix.md?raw"; -import nsDoc_bitburner_tix_nextupdate_md from "../../markdown/bitburner.tix.nextupdate.md?raw"; -import nsDoc_bitburner_tix_placeorder_md from "../../markdown/bitburner.tix.placeorder.md?raw"; -import nsDoc_bitburner_tix_purchase4smarketdata_md from "../../markdown/bitburner.tix.purchase4smarketdata.md?raw"; -import nsDoc_bitburner_tix_purchase4smarketdatatixapi_md from "../../markdown/bitburner.tix.purchase4smarketdatatixapi.md?raw"; -import nsDoc_bitburner_tix_purchasetixapi_md from "../../markdown/bitburner.tix.purchasetixapi.md?raw"; -import nsDoc_bitburner_tix_purchasewseaccount_md from "../../markdown/bitburner.tix.purchasewseaccount.md?raw"; -import nsDoc_bitburner_tix_sellshort_md from "../../markdown/bitburner.tix.sellshort.md?raw"; -import nsDoc_bitburner_tix_sellstock_md from "../../markdown/bitburner.tix.sellstock.md?raw"; import nsDoc_bitburner_toastvariant_md from "../../markdown/bitburner.toastvariant.md?raw"; import nsDoc_bitburner_toastvariantenumtype_md from "../../markdown/bitburner.toastvariantenumtype.md?raw"; import nsDoc_bitburner_universityclassenumtype_md from "../../markdown/bitburner.universityclassenumtype.md?raw"; @@ -2846,6 +2846,36 @@ AllPages["nsDoc/bitburner.stanek.giftwidth.md"] = nsDoc_bitburner_stanek_giftwid AllPages["nsDoc/bitburner.stanek.md"] = nsDoc_bitburner_stanek_md; AllPages["nsDoc/bitburner.stanek.placefragment.md"] = nsDoc_bitburner_stanek_placefragment_md; AllPages["nsDoc/bitburner.stanek.removefragment.md"] = nsDoc_bitburner_stanek_removefragment_md; +AllPages["nsDoc/bitburner.stock.buyshort.md"] = nsDoc_bitburner_stock_buyshort_md; +AllPages["nsDoc/bitburner.stock.buystock.md"] = nsDoc_bitburner_stock_buystock_md; +AllPages["nsDoc/bitburner.stock.cancelorder.md"] = nsDoc_bitburner_stock_cancelorder_md; +AllPages["nsDoc/bitburner.stock.getaskprice.md"] = nsDoc_bitburner_stock_getaskprice_md; +AllPages["nsDoc/bitburner.stock.getbidprice.md"] = nsDoc_bitburner_stock_getbidprice_md; +AllPages["nsDoc/bitburner.stock.getbonustime.md"] = nsDoc_bitburner_stock_getbonustime_md; +AllPages["nsDoc/bitburner.stock.getconstants.md"] = nsDoc_bitburner_stock_getconstants_md; +AllPages["nsDoc/bitburner.stock.getforecast.md"] = nsDoc_bitburner_stock_getforecast_md; +AllPages["nsDoc/bitburner.stock.getmaxshares.md"] = nsDoc_bitburner_stock_getmaxshares_md; +AllPages["nsDoc/bitburner.stock.getorders.md"] = nsDoc_bitburner_stock_getorders_md; +AllPages["nsDoc/bitburner.stock.getorganization.md"] = nsDoc_bitburner_stock_getorganization_md; +AllPages["nsDoc/bitburner.stock.getposition.md"] = nsDoc_bitburner_stock_getposition_md; +AllPages["nsDoc/bitburner.stock.getprice.md"] = nsDoc_bitburner_stock_getprice_md; +AllPages["nsDoc/bitburner.stock.getpurchasecost.md"] = nsDoc_bitburner_stock_getpurchasecost_md; +AllPages["nsDoc/bitburner.stock.getsalegain.md"] = nsDoc_bitburner_stock_getsalegain_md; +AllPages["nsDoc/bitburner.stock.getsymbols.md"] = nsDoc_bitburner_stock_getsymbols_md; +AllPages["nsDoc/bitburner.stock.getvolatility.md"] = nsDoc_bitburner_stock_getvolatility_md; +AllPages["nsDoc/bitburner.stock.has4sdata.md"] = nsDoc_bitburner_stock_has4sdata_md; +AllPages["nsDoc/bitburner.stock.has4sdatatixapi.md"] = nsDoc_bitburner_stock_has4sdatatixapi_md; +AllPages["nsDoc/bitburner.stock.hastixapiaccess.md"] = nsDoc_bitburner_stock_hastixapiaccess_md; +AllPages["nsDoc/bitburner.stock.haswseaccount.md"] = nsDoc_bitburner_stock_haswseaccount_md; +AllPages["nsDoc/bitburner.stock.md"] = nsDoc_bitburner_stock_md; +AllPages["nsDoc/bitburner.stock.nextupdate.md"] = nsDoc_bitburner_stock_nextupdate_md; +AllPages["nsDoc/bitburner.stock.placeorder.md"] = nsDoc_bitburner_stock_placeorder_md; +AllPages["nsDoc/bitburner.stock.purchase4smarketdata.md"] = nsDoc_bitburner_stock_purchase4smarketdata_md; +AllPages["nsDoc/bitburner.stock.purchase4smarketdatatixapi.md"] = nsDoc_bitburner_stock_purchase4smarketdatatixapi_md; +AllPages["nsDoc/bitburner.stock.purchasetixapi.md"] = nsDoc_bitburner_stock_purchasetixapi_md; +AllPages["nsDoc/bitburner.stock.purchasewseaccount.md"] = nsDoc_bitburner_stock_purchasewseaccount_md; +AllPages["nsDoc/bitburner.stock.sellshort.md"] = nsDoc_bitburner_stock_sellshort_md; +AllPages["nsDoc/bitburner.stock.sellstock.md"] = nsDoc_bitburner_stock_sellstock_md; AllPages["nsDoc/bitburner.stockmarketconstants.marketdata4scost.md"] = nsDoc_bitburner_stockmarketconstants_marketdata4scost_md; AllPages["nsDoc/bitburner.stockmarketconstants.marketdatatixapi4scost.md"] = nsDoc_bitburner_stockmarketconstants_marketdatatixapi4scost_md; AllPages["nsDoc/bitburner.stockmarketconstants.md"] = nsDoc_bitburner_stockmarketconstants_md; @@ -2871,36 +2901,6 @@ AllPages["nsDoc/bitburner.tailproperties.width.md"] = nsDoc_bitburner_tailproper AllPages["nsDoc/bitburner.tailproperties.x.md"] = nsDoc_bitburner_tailproperties_x_md; AllPages["nsDoc/bitburner.tailproperties.y.md"] = nsDoc_bitburner_tailproperties_y_md; AllPages["nsDoc/bitburner.task.md"] = nsDoc_bitburner_task_md; -AllPages["nsDoc/bitburner.tix.buyshort.md"] = nsDoc_bitburner_tix_buyshort_md; -AllPages["nsDoc/bitburner.tix.buystock.md"] = nsDoc_bitburner_tix_buystock_md; -AllPages["nsDoc/bitburner.tix.cancelorder.md"] = nsDoc_bitburner_tix_cancelorder_md; -AllPages["nsDoc/bitburner.tix.getaskprice.md"] = nsDoc_bitburner_tix_getaskprice_md; -AllPages["nsDoc/bitburner.tix.getbidprice.md"] = nsDoc_bitburner_tix_getbidprice_md; -AllPages["nsDoc/bitburner.tix.getbonustime.md"] = nsDoc_bitburner_tix_getbonustime_md; -AllPages["nsDoc/bitburner.tix.getconstants.md"] = nsDoc_bitburner_tix_getconstants_md; -AllPages["nsDoc/bitburner.tix.getforecast.md"] = nsDoc_bitburner_tix_getforecast_md; -AllPages["nsDoc/bitburner.tix.getmaxshares.md"] = nsDoc_bitburner_tix_getmaxshares_md; -AllPages["nsDoc/bitburner.tix.getorders.md"] = nsDoc_bitburner_tix_getorders_md; -AllPages["nsDoc/bitburner.tix.getorganization.md"] = nsDoc_bitburner_tix_getorganization_md; -AllPages["nsDoc/bitburner.tix.getposition.md"] = nsDoc_bitburner_tix_getposition_md; -AllPages["nsDoc/bitburner.tix.getprice.md"] = nsDoc_bitburner_tix_getprice_md; -AllPages["nsDoc/bitburner.tix.getpurchasecost.md"] = nsDoc_bitburner_tix_getpurchasecost_md; -AllPages["nsDoc/bitburner.tix.getsalegain.md"] = nsDoc_bitburner_tix_getsalegain_md; -AllPages["nsDoc/bitburner.tix.getsymbols.md"] = nsDoc_bitburner_tix_getsymbols_md; -AllPages["nsDoc/bitburner.tix.getvolatility.md"] = nsDoc_bitburner_tix_getvolatility_md; -AllPages["nsDoc/bitburner.tix.has4sdata.md"] = nsDoc_bitburner_tix_has4sdata_md; -AllPages["nsDoc/bitburner.tix.has4sdatatixapi.md"] = nsDoc_bitburner_tix_has4sdatatixapi_md; -AllPages["nsDoc/bitburner.tix.hastixapiaccess.md"] = nsDoc_bitburner_tix_hastixapiaccess_md; -AllPages["nsDoc/bitburner.tix.haswseaccount.md"] = nsDoc_bitburner_tix_haswseaccount_md; -AllPages["nsDoc/bitburner.tix.md"] = nsDoc_bitburner_tix_md; -AllPages["nsDoc/bitburner.tix.nextupdate.md"] = nsDoc_bitburner_tix_nextupdate_md; -AllPages["nsDoc/bitburner.tix.placeorder.md"] = nsDoc_bitburner_tix_placeorder_md; -AllPages["nsDoc/bitburner.tix.purchase4smarketdata.md"] = nsDoc_bitburner_tix_purchase4smarketdata_md; -AllPages["nsDoc/bitburner.tix.purchase4smarketdatatixapi.md"] = nsDoc_bitburner_tix_purchase4smarketdatatixapi_md; -AllPages["nsDoc/bitburner.tix.purchasetixapi.md"] = nsDoc_bitburner_tix_purchasetixapi_md; -AllPages["nsDoc/bitburner.tix.purchasewseaccount.md"] = nsDoc_bitburner_tix_purchasewseaccount_md; -AllPages["nsDoc/bitburner.tix.sellshort.md"] = nsDoc_bitburner_tix_sellshort_md; -AllPages["nsDoc/bitburner.tix.sellstock.md"] = nsDoc_bitburner_tix_sellstock_md; AllPages["nsDoc/bitburner.toastvariant.md"] = nsDoc_bitburner_toastvariant_md; AllPages["nsDoc/bitburner.toastvariantenumtype.md"] = nsDoc_bitburner_toastvariantenumtype_md; AllPages["nsDoc/bitburner.universityclassenumtype.md"] = nsDoc_bitburner_universityclassenumtype_md; diff --git a/src/NetscriptFunctions/StockMarket.ts b/src/NetscriptFunctions/StockMarket.ts index 1b05ee750..b11c7ccc2 100644 --- a/src/NetscriptFunctions/StockMarket.ts +++ b/src/NetscriptFunctions/StockMarket.ts @@ -18,13 +18,13 @@ import { getStockMarketTixApiCost, } from "../StockMarket/StockMarketCosts"; import type { Stock } from "../StockMarket/Stock"; -import type { StockOrder, TIX } from "@nsdefs"; +import type { StockOrder, Stock as StockAPI } from "@nsdefs"; import { setRemovedFunctions, type InternalAPI, type NetscriptContext } from "../Netscript/APIWrapper"; import { helpers } from "../Netscript/NetscriptHelpers"; import { StockMarketConstants } from "../StockMarket/data/Constants"; import { getEnumHelper } from "../utils/EnumHelper"; -export function NetscriptStockMarket(): InternalAPI { +export function NetscriptStockMarket(): InternalAPI { /** Checks if the player has TIX API access. Throws an error if the player does not */ const checkTixApiAccess = function (ctx: NetscriptContext): void { if (!Player.hasTixApiAccess) { @@ -41,7 +41,7 @@ export function NetscriptStockMarket(): InternalAPI { return stock; }; - const stockFunctions: InternalAPI = { + const stockFunctions: InternalAPI = { getConstants: () => () => structuredClone(StockMarketConstants), hasWseAccount: () => () => Player.hasWseAccount, hasTixApiAccess: () => () => Player.hasTixApiAccess, diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index c5b33b2af..42e4c4560 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -1237,7 +1237,7 @@ export interface NetscriptPort { * Stock market API * @public */ -export interface TIX { +export interface Stock { /** * Get game constants for the stock market mechanic. * @@ -1639,7 +1639,7 @@ export interface TIX { * * You need to have a WSE account. Note that this feature only unlocks access to 4S Market Data in the Stock Market * UI. If you want to access 4S Market Data via NS APIs, you have to unlock "4S Market Data TIX API access" via - * {@link TIX.purchase4SMarketDataTixApi | purchase4SMarketDataTixApi}, which is unrelated to this feature. + * {@link Stock.purchase4SMarketDataTixApi | purchase4SMarketDataTixApi}, which is unrelated to this feature. * * @remarks RAM cost: 2.5 GB * @returns True if you successfully purchased it or if you already have access, false otherwise. @@ -6251,10 +6251,10 @@ export interface NS { readonly sleeve: Sleeve; /** - * Namespace for {@link TIX | stock} functions. + * Namespace for {@link Stock | stock} functions. * @remarks RAM cost: 0 GB */ - readonly stock: TIX; + readonly stock: Stock; /** * Namespace for {@link Formulas | formulas} functions.