Cookie Clicker

Cookie Clicker

CookiStocker 2 | Automatic Stock Trading Mod
ladapata 27 Sep, 2023 @ 4:49pm
Weird behavior of the algorithm causing short-term net-loss
I have an image showing that it happened, but i don't know how to put it in here, so i'll just write what was in the image

Originally posted by Selling Salt 20:34:
Selling 915 units at the price of $14.71 per unit for a loss of $14,419 and total revenue of $13,459, which is added to the total market profits. The stock is in fluctuating mode now. Bought at a price of $30.47 per unit.
I'm using the mod with all normal settings, and using Supreme Intelect + Reality Bending on my Krumblor.
Last edited by ladapata; 27 Sep, 2023 @ 5:44pm
< >
Showing 1-6 of 6 comments
ladapata 27 Sep, 2023 @ 5:01pm 
While writing this discussion, it happened again, twice.

i'll not put the whole thing this time, just the numbers

Originally posted by Selling Cereal 20:47:
Selling 1065 at the price of $52.33... loss of $6,493 and total revenue of $55,730, ... Bought at a price of $58.43 per unit.

and

Originally posted by Selling Sugar 20:44:
Selling 905 at the price of $44.26... loss of $12,147 and total revenue of $40,051 , ... Bought at a price of $57.68 per unit.

Offices at level 3, 92 brokers and banks at level 3, specifically.
I saw the code and it doesn't make a difference, but just to be sure to have all the necessary information.
Last edited by ladapata; 27 Sep, 2023 @ 5:10pm
ladapata 27 Sep, 2023 @ 5:22pm 
Also noticed that it buys things as soon as it changes to slow/fast fall modes, not when it changes to slow/fast rising.

And says it's "[...] in slowly falling mode now." however, by looking at the graph, it's clearly rising, and no, it's not those little peaks while slow/fast falling, it's been rising for multiple minutes!
ladapata 27 Sep, 2023 @ 5:26pm 
Does this version already has a log to verify what is said in this discussion?
Like, is there a place in my computer where CookiStocker 2 saves logs from purchasing and selling stocks?
z  [developer] 10 Oct, 2023 @ 12:49am 
The mod is behaving as intended. It will suffer occasional losses, but they are far outnumbered by its gains. Overall, it earns about an order of magnitude more than the previous version of this mod.

The mod will usual buy a stock if it changes to a rising mode from a neutral or falling mode.

You can create a log by turning on the console output and then saving it when you're done. Instructions on turning on the console output can be found in the CookiStocker Steam Guide. You can also read a lot more about the console output in the discussion thread New Changes and Additions to the Console Output. I highly recommend using the console output, as it will tell you in great detail what is happening with the mod.
Last edited by z; 2 May, 2024 @ 3:48pm
Belladonna 2 May, 2024 @ 9:11am 
This definitely doesn't work right. It constantly buys 1 share of stocks at 90+ claiming it's my buy price and posts losses each time. Maybe the most recent version of Cookie Clicker has broken something, but I ran it for hours and it put me deep in the red instead of buying stocks that were cheap it always bought expensive stocks and ignored the 1 and 2 dollar buys.
z  [developer] 2 May, 2024 @ 3:55pm 
The mod works fine. I've been running it 24/7 with absolutely no anomalies, and with a nice healthy profit. I have also run it with all sorts of combinations of bank levels, cursor levels, numbers of buildings, etc. I can confidently state that there is no mode in which this mod fails - unless you don't follow the directions in the CookiStocker Steam Guide.

It sound to me like your biggest problem is that you don't have enough cookies in you bank to allow the mod to work properly. This would account for purchases of only one cookie at a time. It would also explain why the mod didn't buy stocks under $2 (which it normally should always do); you just didn't have the cookies to pay for them.

You also need a reasonable number of brokers so that you don't get eaten alive by commissions. I recommend at least 100, and I wouldn't use the mod before I had at least 80.

Finally, please read the CookiStocker Steam Guide thoroughly. It has many more details on how to play for maximal profit, and what the profit numbers actually mean.

To give you an idea of what is easily possible, here's my current runtime[imgur.com] from the General section of the Statistics pagefollowed by my current profit. (Please forgive the indirect links to the pictures; there's no way that I know of to include them directly in Discussion pages.

Note that this profit is more than twice as much as the amount required for Gaseous Assets.

My private version of CookiStocker 2 has a configurable statistics section,[imgur.com] which allows you to see what's going on without having to go through the entire console output. This will be included in the next release of CookiStocker 2.0, which hopefully is coming soon.

If after all this, you still think that CookiStocker 2 isn't working properly, please run a session for at least six hours with the console open and running, and save the entire console output, putting a link to the output in this thread.
Last edited by z; 2 May, 2024 @ 5:04pm
< >
Showing 1-6 of 6 comments
Per page: 1530 50