

Must be less than or equal to the number of threads the script is running with. Properties: threads ( number) - Number of threads to use for this function. Optional parameters for configuring function behavior. Let symbols = įor( (num >= 1000) & (i myStocks. hostname ( string) Hostname of the target server. Let corpus = ns.getServerMoneyAvailable("home") įor(let i = 0 i 0) myStocks.push(stocks) Let numCycles = 2 //Each cycle is 5 seconds Let commission = 100000 //Buy or sell commission Each script is tasked with choosing which function to execute based on the status of the target server. Let fracL = 0.1 //Fraction of assets to keep as cash in hand Self-contained algorithms are the simplest family of hacking algorithms to implement. There are also subfolders that seek to add context to the main function of the script. Singularity - Scripts that utilize singularity functions. Stock Market - Scripts for managing the stock market. Stock-master.ns (17.70 GB) //Requires access to the TIX API and the 4S Mkt Data API Hacknet - Scripts to manage, setup, or improve your hacknet experience. Logs trade information to the script logs. Coding Contracts Bitburner 2.0.0 documentation Coding Contracts ¶ Coding Contracts are a mechanic that lets players earn rewards in exchange for solving programming problems. Trade in the stock market and write automated trading scripts Interact with. Requires access to the TX API and the 4S Market Data API, so you have to spend a bit more than 26B. You are unlikely to ever lose more than a tiny fraction of your cash. Bitburner - After 5 years of development, contributions from hundreds of. This Gasser is street legal, licensed & registered with a stock 250 HP 327 and a. Keeps cash in hand between 10%-20% of total assets, as currently configured.Īutomatically dumps all investable assets in the most promising stock.Ĭan double your money in minutes, depending on what stocks are doing. All Listings filter applied Delivery Options. Once you do though, you will never run short of cash at any point in that Bitnode, even after installing Augmentations. Requires access to the TX API and the 4S Market Data API, so you have to spend a bit more than 26B.
