u/ferrus_aub stock script using simple portfolio algorithm. Built upon u/pwillia7 's stock script. UPDATE 2: Prioritization patch mentioned in 1st update seems working. You can find his code snippet in the replies. I'll patch the code if it works as expected. UPDATE 1: u/humm_what_not suggested a patch for stock prioritization sort. The below image is day 1 after the first installation, I only have CSEC and NiteSec augmentations. The script can be enhanced for prioritizing the stocks with the highest forecast. I simply go all-in for all stocks at extrema. buy at the moment when forecast symbol turns from minus (-) to plus (+) and sell at when it turns from plus (+) to minus (-) made the wonders for me. In that case, elementary calculus suggests that if we have a stock price with forecast>0.5 than the price would be at a relatively higher position (if not highest) at the moment it turns to 0.5. The volatility in the stock prices are very stable although we are hacking the companies. In Bitburner, it seems the stock prices follow sine waves with randomized parameters (a*sin(2*pi*f*t)+C) where a, C are constants, f is the frequency of the price and t is the game-time. I believe my approach to the stock exchange minigame is more efficient. I have run his/her version for over a night but with the default values, I have lost almost 1 trillion dollars (starting amount was $1.5t, unfortunately I have lost 66% of my capital) Just leave the script running.ĭESCRIPTION: I have modified the u/pwillia7/ 's stock script. That only means, there are not many investment opportunities for that cycle. Do not panic, if the investments stopped or got slow. Right now, I am certain that game resets the stock price function parameters of each company after every augmentation install. It will buy stocks only with the excess money after $1b. The script has a built-in function to keep at least $1b for you. If you want to use the script before $50b I suggest you to increase minSharePer variable temporarily. Otherwise, transaction costs will unfortunately reduce your earnings significantly. I suggest you to run script after you have $50b and if you are in a hurry, consider $10b for minimal amount. REQUIREMENTS: You will need Four-Sigma market information and TIX API to use this script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |