Cookie Clicker

Cookie Clicker

CookiStocker 2 | Automatic Stock Trading Mod
163 Comments
z  [author] 29 Jul @ 12:25pm 
If you think this mod is losing money for you, please click on the "Steam Guide" link in the description above, go to the "Troubleshooting & FAQ" section and read the third item, entitled "Q: Why does this mod keep losing money for me?" This will solve your problem.
z  [author] 27 Jul @ 7:05am 
Intyale - Most of what you list are known problems, and they are on my "to do" list to fix. Unfortunately, I have had a brutal schedule for quite a while, and I just haven't had time to work on this mod.

However, I realized that there's a simple way to prevent the mod from eating all your cookies right after a reincarnation just to buy stocks. I just have to put in a limit whereby a stock purchase is not made if it would consume more than 5% of the cookies in your bank. I'll try to get this done in the next week. However, this is not a replacement for an on/off switch, which will take more work.

As for your last point, there should be no way that the mod can trade stocks when the market is inaccessible. If it's inaccessible to you, it's inaccessible to the mod as well.
z  [author] 26 Jul @ 6:33pm 
Deminox - It is virtually impossible for this mod to cause you to lose 1/5 of your profits in ten minutes. If you are looking at the field marked "Profits:" at the top of the stock market data (which is unfortunately misnamed), it may very well decrease by 1/5 in ten minutes. But the reason for this is that whenever a stock is bought (by the mod or by you), the purchase price is deducted from the "Profits:" figure. This money is not lost; it is merely invested in stocks in the only way possible. As the game progresses, the mod buys more stocks, which temporarily reduces the "Profits:" figure even more.

But this gradually changes with time, and within a few hours, even the "Profits:" figure should be in the green. Within a day, it definitely will be, and your profits will continue to increase day after day - guaranteed. It will make more profits over time than any other mod, and more than you can make yourself.
z  [author] 26 Jul @ 6:33pm 
[Continued]
Please don't condemn a mod that has a 5-star rating from hundreds of users just because you don't understand what it's doing. And please read the documentation that is boldfaced in the Description above. The mod doesn't work the way you think it does; it is not "speculating". It uses an algorithmic approach tailored to the way this particular stock market works, and it never loses many over the long term (i.e., a day or more). For players in the advanced stages of the game, it is easy to win the Gaseous Assets achievement in less than two days by using this mod.
Deminox 20 Jul @ 12:55pm 
This thing made me lose 1/5 of my profits in ten minutes. As soon as I enabled it, bough the more expensive stocks until depleating my bank and sold them in a downward trend, What is this!? This isn't a hard minigame, you just by whe low, sell when high. This mod shouldn't be speculating with the stocks, it just need options to set a threshold: autobuy when stock are this low, sell when this high. That's all. It shouldn't be making decitions it's clearly not well equipped to make.
Intyalle 3 Jul @ 6:03pm 
This mod could really use an option to turn the automation off :( Sometimes the circumstances aren't great (like early after an ascension) or I just wanna trade manually for a bit or I'm buying a lot and am going to have a low cookie balance for a while. It would be nice to turn it off temporarily without having to disable the whole mod and restart.

Also; is the mod supposed to be trading when the stock market is inaccessible? After ascension, it started trading as soon as I bought any farms.
Romario Robinson 17 May @ 3:08am 
can someone help me? For some reason better autoclicker doesn't work when autostocker is enabled. Mod manager says they're both enabled, but autoclicker menu just doesn't appear. I've changed priority of mods and enabled/disabled them one by one but still nothing. Both mods have their latest versions
z  [author] 15 May @ 7:19pm 
Falmingkitter - I did not delete your post, nor have I ever deleted a post here.

The stock market's actions are inherently probabilistic, and the mod does the best it can with the information it has. From what I've seen, this appears to be much better than any other stock market mod for the game. It uses some nonintuitive strategies to achieve those results. It may lose occasionally, but thousands of hours of testing by me personally have shown that it wins several times more often than it loses, and the average win is at least several times as big as the average loss. The Gaseous Assets achievement, which many consider the hardest in the game to obtain, can be reached in less than two days with this mod in a fully upgraded, non-cheating game.

If you can do better on your own, or with another mod, especially over a period of days, please let me know.
Falmingkitter 12 May @ 6:17pm 
Did you.. actually delete my comment? Cringe if true. This script is ignoring 15$ stocks to buy 100$ stocks, then selling those overpriced stocks at a loss a few ticks later when they dip. I understand what the "profits" metric means and I have no doubt the script will eventually turn a net profit, but I'm watching net-losses in real time from simple mistakes. I would rather hold on to those stocks until it recovers in 4 hours than panic sell at a loss.
zzzzzzzzzzzzzzzzzzzz 12 May @ 8:06am 
Thanks for the reply, I totally missed that part in the mod description my bad, I'm used to settings being in-game
z  [author] 12 May @ 6:22am 
If you watch closely, you will find that although the mod sometimes buys at high prices, it usually makes money when it does so. The workings of the stock market as described in the standard documentation are an oversimplification, and do not address the emergent behavior that has come to light during thousands of hours of testing of this mod. The mod takes this all into account, and this allows it to achieve the best returns by far of any stock market mod that I know of.

The mod's trading strategy cannot be modified by the user, as the user simply does not have the information necessary to improve upon it. As for other options, please see the Steam Guide referenced in the Description above.
Zapzarap 11 May @ 10:04am 
Hi, I've installed the mod and it's already running, but the mod always buys everything at a much too high price. Where can I find the options for the mod?
z  [author] 9 May @ 6:53pm 
You can find an option for disabling the notifications for buying and selling (and many more options) in the Steam guide under "Options," as noted in the description above.
zzzzzzzzzzzzzzzzzzzz 9 May @ 1:53am 
Please add an option to disable the notifications for buying and selling
SaneG 7 Mar @ 11:31pm 
Cool mod!
z  [author] 3 Mar @ 11:32am 
@Hunter and @Melon - Please read the Steam Guide linked in the Description above. It should answer your questions. When run this mod as directed, it will make you a lot of money over time, generally starting in the first few hours or less after it begins running.

Hint: Try using the console output option to see the details of what is going on. If you have run this mod for at least 12 hours and it is still losing money for you, please post the console output in the Bug Reports discussion thread. I have never seen such a situation happen.
Hunter 2 Mar @ 4:50am 
I am ONLY selling items at a loss, according to the pop up notifications. I even went in and set my own prices and it will not follow them. ex- I set jam to be bought at 10 and sell at 90, It just bought at 88 and sold at 83. Even on default, all are sold for less then what it bought it for?
Melon 1 Mar @ 3:01pm 
How long does it take to start makin good money bc for me it just kept losing a lot for some reason
z  [author] 18 Feb @ 9:25am 
@Minor - Supreme Intellect has no effect on the mod.
Unborne Fetus 7 Jan @ 9:52pm 
I was put into debt
Mouth 4 Jan @ 8:32pm 
Is there a menu to configure the mod or is it fire and forget?
the blind beggar 4 Jan @ 1:00am 
so is it full on auto? like i don't have to click anything it just works after i subscribe and restrat the game?
yeah 1 Jan @ 9:25am 
this mod singlehandedly got my ass out of debt
Razgar Voxel 21 Dec, 2024 @ 6:55pm 
Currently have it disabled because I ascended but I can attest that this mod dose work. Thanks for taking the time to reply to my comment on here. It should be noted that I have between 530 to 950 building from the cheapest to most expensive and and at over 1.502 septendecillion cps. I would recommend not have less then 3 times your CPS. Given the mod will attempt to buy and sell stocks which will eat into your on hand cookies. that last bit is for people using this mod
Razgar Voxel 21 Dec, 2024 @ 6:55pm 
Yeah I noticed the randomness of the market when I was playing. I would erratically bounce between being in the red and going into the green several times with the mod. Disregarding my typo about some "upload" was half asleep when I made the comment and used auto correct for some of my typos. I am unsure what I was trying to say there. But eventually I only went up in profits for the most part and never went negative again. Ended up being able to get both Liquid and Gaseous Assets with this mod. Where I am at in game it only took me 2 or 3 days tops. .
z  [author] 21 Dec, 2024 @ 5:35pm 
Leiteiro - Supreme Intellect has no noticeable effect on the mod. I have tested the mod extensively both with and without Supreme Intellect, and I cannot see any difference whatsoever. This makes sense, because the effect of Supreme Intellect on the stock market is to increase volatility; it does not change the basic algorithms behind market movements. Since these algorithms remain the same, so does this mod's performance.
z  [author] 21 Dec, 2024 @ 5:35pm 
Razgar Voxel - Thanks for your support! To elaborate on what you said, it is important to keep in mind that the stock market has a large random factor built into its movements, which means that it is impossible to play the market perfectly, with or without a mod. This mod uses stochastic modeling, which is just a fancy way of saying it does its best to account for the randomness and finding patterns in it.

You are quite right that you need a sufficient amount of cookies in your bank for this mod to work properly. But as long as you maintain that amount (which varies due to how many buildings you have, etc.), you can play the rest of the game either actively or idly without affecting your stock market returns. Please see the section entitled Increasing the Mod's Efficiency in the Steam Guide linked above for more advice on bank requirements and maximizing stock market profits.
z  [author] 21 Dec, 2024 @ 5:32pm 
[continued]
Finally (and this is for everyone), please see my previous post here explaining what the Profits number really means, and how to see your true profits. If you really want to see the workings of this mod in real time, I strongly recommend turning on Console Announcements, as detailed in the Options section of the Steam Guide and the referenced Discussion.
Minor. 18 Dec, 2024 @ 5:21pm 
does supreme intellect confuse the mod?
Razgar Voxel 18 Dec, 2024 @ 2:50pm 
Update I am now at 21.554 now so yes this mod works. You will still loose and gain but it will eventually like the uploaded of the mode said never go negative again. Depending on how far in the hole you are with the market it could take several days to climb into the positive profit margins.
Razgar Voxel 16 Dec, 2024 @ 3:10pm 
To all the people that are saying this dose not work. This is not an instant gratification mod just like the actual Stock Market it takes time to make a profit off investments. Also it helps to have an excess of cookies in the "bank" what I mean by that is how many cookies you have on hand. So playing idle here would be the best strat. So just let your cookies climb and not buy any buildings or anything and just let the mod buy and sell your cookies. Been using this mod for a few hours now and went from negative a few hundred thousand to just under 2 million. You may fluctuate between the red and going positive a few times. But this mod dose work.
z  [author] 8 Dec, 2024 @ 2:14am 
I should also mention that if you are judging profits based on the Profits figure in the upper left of the stock market display, you are looking at the wrong number, as this number actually shows gross revenue - not profits. Please see the Steam Guide linked above for further information on this, and also different ways to see true profits.

Because the Profits figure always shows gross revenue, it starts out at zero and will always become negative as soon as you purchase your first stock (either manually or through this mod). To answer White Rice's question, that's why (if you have notifications turned on) you will see the notification "click clack you are now in debt" when you start this mod. Over time (generally a few hours at most), your profits will exceed your investment costs and the "Profits" figure will become positive, never to turn negative again.
z  [author] 7 Dec, 2024 @ 11:08am 
@crystalcat23 - When used properly, this mod always makes money, and lots of it over time. Please read the Steam Guide linked in the description above. Specifically, make sure you have plenty of brokers (at least 80) and plenty of money in your bank to finance purchases. The rest of the Guide should help you make the most of this mod.

I have never failed to make money using this mod for at least a few hours at a time, and if you read through the comments, I think you will find plenty of others with the same experience.
crystalcat23 3 Dec, 2024 @ 1:56pm 
had to disable this mod, i rarely if ever saw it making good decisions with the stocks. it kept selling at a loss and was tanking my profiits. 0/10.
White Rice 26 Oct, 2024 @ 6:10pm 
Why is "var stockerGreeting = 'click clack you are now in debt'" in the code for this mod?

I decided to export my save before enabling so I got my save back, but it only ever made terrible decisions buying stocks at $180 and not even waiting for it to go up to $300, which started to tank my bank profits (had recently gotten liquid assets so it was quite high)
z  [author] 16 Oct, 2024 @ 11:13pm 
Blue - When employed properly, this mod never behaves like that. It always makes money, and lots of it over time.

My first guess is that you don't have enough brokers. How many do you have? I recommend at least 80 brokers. Increasing your brokers increases your profit, up to a maximum of about 162 brokers.

Are you interested in making this mod work for you?
Blue 16 Oct, 2024 @ 2:41pm 
It was buying ludicrously expensive stocks, then selling them at a loss. 0/10 from me.
z  [author] 13 Oct, 2024 @ 10:38pm 
R719 - Yes, this mod will let you get all the stock market achievements. In fact, it is the fastest way to get the Gaseous Assets achievement; if you have leveled up all your buildings to at least level 10, and Cursors to at least level 12, you should be able to average at least $20 million per day, which will get you to Gaseous Assets in less than two days.

Furthermore, since Gaseous Assets are now so much easier to obtain, I am currently in the process of adding Plasmic Assets at the $100 million level, and Bose Einstein Condensed Assets at the $500 million level. These two achievements will both come with warehouse capacity boosts.
z  [author] 13 Oct, 2024 @ 10:29pm 
Big Boned Bubba - What you report is very unusual; I don't know why this is happening to you. Fortunately, there's an easy way to fix this:

1. Copy the whole CookiStocker 2 directory and contents to somewhere outside the Steam hierarchy.

2. Unsubscribe from CookiStocker 2, and verify that its main directory is now gone.

3. Move the copied version of the CookiStocker 2 directory back to its original location.

You can now edit anything in that directory. Your edits will not be overwritten by Steam, because Steam doesn't know that directory exists (since you aren't subscribed to the mod). Although you won't get updates to the mod automatically, these are infrequent, and they are announced in this thread. If you subscribe to this thread by checking the box above the comments, you will be notified when I post a message announcing an update. This whole problem will go away when I make standard options available for this mod, but it may take me a while to get around to that.
R719 13 Oct, 2024 @ 4:07pm 
would this mod let me get all the stock market achievements?
Sound 9 Oct, 2024 @ 9:20am 
great mod! was wondering how to edit the options because whenever i edit the main.js file it resets back to default settings
Strawmancrow 21 Sep, 2024 @ 3:00pm 
Stonks :)
z  [author] 1 Sep, 2024 @ 9:53am 
The main number in the upper left of the stock market display, labeled "Profits", is unfortunately misnamed. It is actually gross revenue. So when you start out by buying stocks, which is necessary if you're going to play the stock market, this number always goes negative, as the money to buy the stocks comes out of your bank, reducing your bank balance, As time goes on, you will start selling stocks, generally at a higher price than when you bought them,, and at this point, the entire value of the sale - not just the profit - is added to the "Profits" figure. This same amount is added to your bank.

Over time, profits from trading wipe out the deficit in the "Profits" figure, which then begins to climb. Additionally, the difference between the true profits and the number reported in Profits gradually narrows.
z  [author] 1 Sep, 2024 @ 9:53am 
[continued]
By default, the variable stockerActivityReport in the file main.js is set to true, and this in combination with the stockerActivityReportFrequency variable will result in notifications hourly (by default) showing what your true profits are this run. It is this number that you should pay attention to. It will either start out positive or become and stay positive within a few hours at the most.

Note that all of this information is located in the FAQ section of the CookiStocker Steam Guide, which is linked to in the mod description above.

Manipulating the tick rate has no effect on stock market profits; it merely speeds up the market.
Fethur 29 Aug, 2024 @ 9:47pm 
You are not alone. I lost 28 mil before I noticed it was indebting me
Dr. Majnun 29 Aug, 2024 @ 4:54pm 
it keeps just doing it... Why does it keep making my profits go negative millions
Dr. Majnun 28 Aug, 2024 @ 11:31am 
UPDATE: The mod is now starting to drag me back out of my debt, thankfully. Perhaps it's gross error in stock predictions was caused by my manipulation of the tickrate?
Dr. Majnun 28 Aug, 2024 @ 11:18am 
...I don't know if anyone else has been having this problem, but for some wacky reason the mod has managed to put me NEARLY 47 MILLION DOLLARS IN THE HOLE. I have made -47 MILLION IN PROFITS, how in the HIGGITY GIGGITY HO HOE KENTUCKY FRIED FU-

...Just to be clear, the phrasing above is for comedic purposes. I am not mad at you, or the mod. I'm just laughing my butt off, confused as all hell.
z  [author] 27 Jul, 2024 @ 2:11am 
Support for settings on the Options page is definitely planned, and I consider it important. Unfortunately, my available free time is quite limited right now, so it may take a little while.
Jack 24 Jul, 2024 @ 3:55pm 
can this get settigns support from CCSE so we can configure stuff ingame?