Open
Description
Step to reproduce
- Build up strong hacking related stats, including hack level, hack time (reduction), hack power etc.
- Purchase 4S Market Data Access and Market Data TIX API Access
- Script
hack()
/grow()
a server with corresponding stock with{stock: true}
according to its forecast to make the price oscillate intensely. - Wait and check its price.
Result
The price may eventually reach absolute zero and never changes from then on, making it non-sense to be traded any more (before soft reset)
This happens mostly on stocks with:
- corresponding server with low hacking level required
- high volatility
- low initial price
namely JGN (Joe's Guns) and SGC (Sigma Cosmetics):
Version
bitburner v2.5.0 (b87b8b4)
Idea
This part of code prevents the stock price to go beyond certain cap. It might be possible to duplicate and modify them to prevent the price dropping below a certain threshold.
Another idea I came up with is to log the count of zero in past prices. When it reaches certain value (5 or 10 continuous 0's as such), reset the stock to some reasonable price. Optionally forbid trading stocks with a price of 0 to prevent exploiting absurd profit through resetting.
Activity