Cookie Clicker Wiki
Advertisement

The Stock Market minigame as of 2.028

The Stock Market is a minigame implemented in version 2.028 on August 23, 2020. The minigame is unlocked by upgrading Banks to Level 1. In the Stock Market, players can purchase cookies, recipes and ingredients, and sell them at higher prices for $ (meaning seconds of maximum raw CpS).

In addition to buying and selling resources, the minigame includes an Office, which can be upgraded to increase warehouse capacity and unlock Loans; as well as Stockbrokers, which reduce the overhead cost of buying resources. Loans cost cookies and increase the current CpS for a certain amount of time, but after the time is over, CpS is decreased for a significant amount of time.

Each aspect of the Stock Market is associated with a building. The Office is associated with Cursors, the Stockbrokers are associated with Grandmas, and the resources are each associated with one of the remaining buildings.

Stock market progress (profits/losses and bought goods) do not persist between ascensions.

Stock Market Offices

Upgrading your Office increases the warehouse capacity of each resource, and several upgrades also unlock loan slots. Upgrading costs a certain amount of Cursors and require the Cursors to be at a certain level.

Icon Name Description Office Level Cost to Upgrade
Credit garage.png Credit garage This is your starting office.
Upgrading will grant you:
  • +25 warehouse space for all goods
1 100 Cursors (level 2+)
Tiny bank.png Tiny bank This is your office.
Upgrading will grant you:
  • +1 loan slot
  • +50 warehouse space for all goods
2 200 Cursors (level 4+)
Loaning company.png Loaning company This is your office.
Upgrading will grant you:
  • +75 warehouse space for all goods
3 350 Cursors (level 8+)
Finance headquarters.png Finance headquarters This is your office.
Upgrading will grant you:
  • +1 loan slot
  • +100 warehouse space for all goods
4 500 Cursors (level 10+)
International exchange.png International exchange This is your office.
Upgrading will grant you:
  • +1 loan slot
  • +50% base warehouse space for all goods
5 700 Cursors (level 12+)
Palace of Greed.png Palace of Greed This is your office.
It is fully upgraded. Its lavish interiors, spanning across innumerable floors, are host to many a decadent party, owing to your nigh-unfathomable wealth.
6 N/A

Stockbrokers

Icon Description
Stockbrokers.png A nice broker to trade more cookies.
  • Buying goods normally incurs overhead costs of 20% extra. Each broker you hire reduces that cost by 5%.
  • Buying a broker costs Money.png 20 minutes of CpS (that's $1200).
  • Maximum number of brokers you can own: the highest number of grandmas you've owned this run, divided by 10, plus your grandma level.
"Brokers are Wall Street-class grandmas versed in the ways of finance. Stockbroker grandmas work hard and play hard, and will fight telephone in hand to get your clients the best possible deals - with a sizeable profit margin for you, of course."

Overhead

The Overhead is the number of cookies you will pay on top of any stock purchase. By getting Stockbrokers this overhead can be minimized to extremely low values, which makes buying-and-selling stock much more profitable.

The 5% reduction is applied multiplicatively, meaning that each new Stockbroker provides lesser reduction than the previous ones. The formula for calculating the overhead (in %) based on number of brokers is as follows:

The following table shows the number of brokers needed to get the desired overhead reduction, as well as total price to buy that number of brokers (in $). For example, at 59 brokers the overhead is already lower than 1%, compared to the original 20%.

Overhead Table
Brokers Total price Overhead Brokers Total price Overhead Brokers Total price Overhead
1 1200 19.000% 51 61200 1.462% 101 121200 0.112%
2 2400 18.050% 52 62400 1.389% 102 122400 0.107%
3 3600 17.148% 53 63600 1.319% 103 123600 0.102%
4 4800 16.290% 54 64800 1.253% 104 124800 0.096%
5 6000 15.476% 55 66000 1.191% 105 126000 0.092%
6 7200 14.702% 56 67200 1.131% 106 127200 0.087%
7 8400 13.967% 57 68400 1.075% 107 128400 0.083%
8 9600 13.268% 58 69600 1.021% 108 129600 0.079%
9 10800 12.605% 59 70800 0.970% 109 130800 0.075%
10 12000 11.975% 60 72000 0.921% 110 132000 0.071%
11 13200 11.376% 61 73200 0.875% 111 133200 0.067%
12 14400 10.807% 62 74400 0.832% 112 134400 0.064%
13 15600 10.267% 63 75600 0.790% 113 135600 0.061%
14 16800 9.753% 64 76800 0.750% 114 136800 0.058%
15 18000 9.266% 65 78000 0.713% 115 138000 0.055%
16 19200 8.803% 66 79200 0.677% 116 139200 0.052%
17 20400 8.362% 67 80400 0.643% 117 140400 0.050%
18 21600 7.944% 68 81600 0.611% 118 141600 0.047%
19 22800 7.547% 69 82800 0.581% 119 142800 0.045%
20 24000 7.170% 70 84000 0.552% 120 144000 0.042%
21 25200 6.811% 71 85200 0.524% 121 145200 0.040%
22 26400 6.471% 72 86400 0.498% 122 146400 0.038%
23 27600 6.147% 73 87600 0.473% 123 147600 0.036%
24 28800 5.840% 74 88800 0.449% 124 148800 0.035%
25 30000 5.548% 75 90000 0.427% 125 150000 0.033%
26 31200 5.270% 76 91200 0.406% 126 151200 0.031%
27 32400 5.007% 77 92400 0.385% 127 152400 0.030%
28 33600 4.757% 78 93600 0.366% 128 153600 0.028%
29 34800 4.519% 79 94800 0.348% 129 154800 0.027%
30 36000 4.293% 80 96000 0.330% 130 156000 0.025%
31 37200 4.078% 81 97200 0.314% 131 157200 0.024%
32 38400 3.874% 82 98400 0.298% 132 158400 0.023%
33 39600 3.681% 83 99600 0.283% 133 159600 0.022%
34 40800 3.496% 84 100800 0.269% 134 160800 0.021%
35 42000 3.322% 85 102000 0.256% 135 162000 0.020%
36 43200 3.156% 86 103200 0.243% 136 163200 0.019%
37 44400 2.998% 87 104400 0.231% 137 164400 0.018%
38 45600 2.848% 88 105600 0.219% 138 165600 0.017%
39 46800 2.706% 89 106800 0.208% 139 166800 0.016%
40 48000 2.570% 90 108000 0.198% 140 168000 0.015%
41 49200 2.442% 91 109200 0.188% 141 169200 0.014%
42 50400 2.320% 92 110400 0.178% 142 170400 0.014%
43 51600 2.204% 93 111600 0.170% 143 171600 0.013%
44 52800 2.093% 94 112800 0.161% 144 172800 0.012%
45 54000 1.989% 95 114000 0.153% 145 174000 0.012%
46 55200 1.889% 96 115200 0.145% 146 175200 0.011%
47 56400 1.795% 97 116400 0.138% 147 176400 0.011%
48 57600 1.705% 98 117600 0.131% 148 177600 0.010%
49 58800 1.620% 99 118800 0.125% 149 178800 0.010%
50 60000 1.539% 100 120000 0.118% 150 180000 0.009%

Loans

Loans are unlocked by leveling up your offices. The buttons to trigger them are located just under or to the right of the stockbroker information, depending on zoom level and window size. At max level, there are 3 loan slots, each providing a different CpS boost. On every loan, you must pay a downpayment of a certain percentage of your bank.

Slot Type Description
1st Modest loan By taking this loan, you will get +50% CpS for the next 2 hours.
However, you will get -75% CpS for the next 4 hours after that.
You must also pay an immediate downpayment of 20% of your current bank.
"Buy that vintage car you've always wanted. Just pay us back."
2nd Pawnshop loan By taking this loan, you will get +100% CpS for the next 40 seconds.
However, you will get -90% CpS for the next 40 minutes after that.
You must also pay an immediate downpayment of 40% of your current bank.
"Bad credit? No problem. It's your money, and you need it now."
3rd Retirement loan By taking this loan, you will get +20% CpS for the next 2 days.
However, you will get -20% CpS for the next 5 days after that.
You must also pay an immediate downpayment of 50% of your current bank.
"Finance your next house, boat, spouse, etc. You've earned it."

The costs of a loan is very steep, and they must be used at the right opportunity to be worthwhile. The best time to use them is harvesting garden plants like bakeberries or duketaters during an Elder Frenzy, Frenzy, Click Frenzy, Dragon Harvest, Building Special or Dragonflight. A loan's bonus is multiplicative, and even multiplies with the other loans.

A strategy would be to take out a retirement loan, but have your ascension last less than 2 days. This would completely avoid the 5 day penalty. Another strategy would be to, during the Christmas Season, activate the Grandmapocalypse. This would give a chance of the legendary Elder Frenzy and Reindeer combo (an achivement in itself). By purchasing the Christmas-themed upgrade Ho-ho-ho flavored frosting, this would give 12 hours and 6 minutes worth of CpS. By triggering a pawnshop loan slightly before the boost, this would give over a day of regular production. Add a Frenzy, which is fairly easy to get, you'll have over a week's worth of cookies. Loans might have some unfair effects, but the boosts they provide, if used correctly, can seriously offset the negatives.

Stock Market Resources

The base warehouse capacity of each resource is the highest amount of that building you've owned in the current ascension, plus ten times the building's Level. The +50% base capacity from Palace of Greed is calculated solely from the 'highest amount of that building' value before considering each building's Level or the additive capacity upgrades from lower level Offices.

Icon Name Description Associated Building Symbol ID
Cereals.png Cereals Old Mills is a trusted staple of the grain industry. Finding their roots in humble pioneer farms centuries ago and honing their know-how ever since, the Old Mills organic crops have reached a standard of quality that even yours struggle to equal. Farm CRL 0
Chocolate.png Chocolate Cocoa Excavations is an international chocolate mining venture whose extraction sites always seem, somehow, to pop up in war-torn countries. Their high-grade chocolate is renowned the world over and has even been marketed, to some success, as suitable gems for engagement rings. Mine CHC 1
Butter.png Butter Bovine Industries is a formerly-agricultural conglomerate that now deals in mechanized dairy mass production. Whistleblowers have drawn attention to the way the milk cows employed by this company are treated, describing it as "not quite cruel or anything, but definitely unusual". Factory BTR 2
Sugar.png Sugar The Candy Trust is a corporate banking group backed by, and specialized in, the trade of high-grade sugar. The origin of said sugar is legally protected by an armada of lawyers, though some suspect they secretly scrape it off of the bank bills coming in before processing it. Bank SUG 3
Nuts.png Nuts Hidden between hills and fog somewhere, the secretive Hazel Monastery has, for centuries, maintained nut crops of the highest quality. The monastery nuts are carefully tended to, harvested and shelled by its monks, who are all required to take a vow of nut allergy as a lifelong test of piety. Temple NUT 4
Salt.png Salt Salt is a versatile substance, with properties both mundane and mystical. This is why the bearded crackpots at Wacky Reagants have perfected the art of turning magic powder into salt, which is then sold to anyone promising to put it to good use - whether it be warding off banshees and ghouls or seasoning a Sunday roast. Wizard Tower SLT 5
Vanilla.png Vanilla After the news broke of vanilla not being native to Earth, Cosmic Exports was the first company to discover its true origin planet - and has struck an exclusive deal with its tentacled inhabitants to ship its valuable, unadulterated beans all over the local quadrant. Shipment VNL 6
Eggs.png Eggs At Organic Gnostics, an egg is seen as a promise. A promise of life and nourishment, of infinite potential, of calcium and protein. An egg can become many things... especially when you're properly funded and don't believe there's room in science for rules or ethics. Alchemy Lab EGG 7
Cinnamon.png Cinnamon The Dimensional Exchange employs a vast team of ragtag daredevils to dive into dangerous underworlds in search of strange native spices. Chief among those is cinnamon, a powder so delicious its true nature can only be unspeakably abominable. Portal CNM 8
Cream.png Cream Once specialized in cosmetics for the elderly, the eggheads at Precision Aging have repurposed their timeshift technology and developed a process allowing them to accelerate, slow down, and even reverse the various phase changes of milk. Their flagship offering, whole cream, is said to be within 0.002% of theoretical ripening optimums. Time Machine CRM 9
Jam.png Jam Pectin Research is a military-backed laboratory initially created with the aim of enhancing and miniaturizing army rations, but now open for public bulk trading. It has recently made forays in the field of highly-concentrated fruit jams, available in a variety of flavors. Antimatter Condenser JAM 10
White chocolate.png White chocolate What was once two college kids messing around with mirrors in their dad's garage is now a world-famous megacorporation. Dazzle Corp's groundbreaking experiments in photonic annealing have led to the creation years ago of a new kind of matter, once derided as impossible by physicists and cooks alike: white chocolate. Prism WCH 11
Honey.png Honey The folks at Prosperity Hive deal in honey, and it's always worked for them. With a work culture so relaxed you're almost tempted to ditch the cookie business and join them, these people have little in common with the proverbial busy bee - though their rates do sting quite a bit. Chancemaker HNY 12
Cookies.png Cookies Interesting. It appears there's still a company out there trying to sell cookies even with your stranglehold on the market. No matter - you figure Selfmade Bakeries' largely inferior product will make decent fodder for the mouse traps in your factories. Fractal Engine CKI 13
Recipes.png Recipes In a post-material world, the market of ideas is where value is created. Figments Associated understands that, and is the prime designer (and patenter) of baking recipes, ingredient nomenclature, custom cooking procedures, and other kitchen processes. Javascript Console RCP 14
Subsidiaries.png Subsidiaries Avoid the uncouth nastiness of mass layoffs and hostile takeovers by delegating the purchase, management, and eventual dissolution of other companies to the boys at Polyvalent Acquisitions. Let 'em deal with it! Idleverse SBD 15
Publicists.png Publicists Get those juices flowing: from market research to advertising, the think tanks at Great Minds will lend their talents to the highest bidder. It's intellectual property on tap. Cortex Baker PBL 16

Market Behavior

The value of stocks on the market is random but conform to a number of rules. Some rules are affected by Supreme Intellect (and hence Reality Bending). Each stock has a hidden delta value that decreases by 3% every tick (2% with Supreme Intellect, 2.9% with Reality Bending, and 1.9% with both Supreme Intellect and Reality Bending). One tick occurs every minute. This delta value is added to the value of the stock every tick and acts as a sort of velocity for the stock. Stocks also have a resting value, based on the Bank level, calculated as follows.

Where id is its index: CRL being 0, CHC being 1, etc.

So, for example, if you have level 10 Banks, the resting value would be $19 for Cereals and $179 for Publicists. Every tick, the value of the stock is gradually shifted toward this value by 1%. Being updated as follows.

After this, the stock's value is fluctuated by a random amount between -3 and 3 using the following formula:

Then its delta is fluctuated by a random amount between -0.05 and 0.05. There is a 15% chance that the stock's value is fluctuated by an additional random amount between -1.5 and 1.5 (with linear distribution), a 3% chance that the value is fluctuated by another additional random amount between -5 and 5 (between -10 and 10 with Supreme Intellect, between -5.5 and 5.5 with Reality Bending, or between -10.5 and 10.5 with both), and a 10% chance that the stock's delta is fluctuated by an additional random amount between -0.15 and 0.15 (between -0.25 and 0.25 with Supreme Intellect, between -0.16 and 0.16 with Reality Bending, and between -0.26 and 0.26 with both).

On top of that, each stock is in one of 5 modes with custom additional rules. These rules apply once every tick, in addition to the rules listed above that apply regardless of mode.

Stable (12.5% chance)

The stock's delta is decreased by 5%, then fluctuates by a random value between -0.025 and 0.025.

Slow Rise (25% chance)

The stock's delta is decreased by 1%, then fluctuates by a random value between -0.005 and 0.045.

Slow Fall (25% chance)

The stock's delta is decreased by 1%, then fluctuates by a random value between -0.045 and 0.005.

Fast Rise (12.5% chance)

The stock's value fluctuates by a random value between 0 and 5, and its delta fluctuates by a random value between -0.015 and 0.135. There is a 30% chance of the stock's value fluctuating by an additional random value between -7 and 3, and its delta fluctuating by a random value between -0.05 and 0.05. There is also a 3% chance of the stock changing mode to a Fast Fall.

Fast Fall (12.5% chance)

The stock's value fluctuates by a random value between -5 and 0, and its delta fluctuates by a random value between -0.135 and 0.015. There is a 30% chance of the stock's value fluctuating by an additional random value between -3 and 7, and its delta fluctuating by a random value between -0.05 and 0.05.

Chaotic (12.5% chance)

The stock's delta fluctuates by a random value between -0.15 and 0.15. There is also a 50% chance that the stock's value fluctuates by an additional random value between -5 and 5, and a 20% chance that its delta is overridden by a random value between -1 and 1 (between -4 and 4 with Supreme Intellect, between -1.3 and 1.3 with Reality Bending, and between -4.3 and 4.3 with both).

When a stock changes mode it is assigned a random duration value between 10 and 700 (between 10 and 500 with Supreme Intellect, between 10 and 680 with Reality Bending, and between 10 and 480 with both) that decreases every tick. A new mode is chosen when this time runs out, according to the probabilities above. If the stock is in a Fast Rise or Fast Fall while changing mode, there is a 70% chance that it turns Chaotic instead of choosing a mode normally. With Supreme Intellect, there is a 50% chance the stock completely bypasses normal selection and instead turns Chaotic (5% with Reality Bending, and 50% with both).

Additionally, every tick there is a 10% chance of triggering a round of instant mode changes (20% with Supreme Intellect, 11% with Reality Bending, and 21% with both). When this happens, a single random value between -1 and 1 is chosen too apply to all affected stocks, called globD, and each stock is selected at random (25% of them on average) to instantly reselect its mode and suddenly fluctuate its value and delta based on this globD as follows:

  • The stock's value is randomly fluctuated between 2 and 9 + 7×delta scaled by -globD:
  • The stock's delta is uniformly fluctuated between 1 and 5 scaled by globD:

Lastly, the value of a stock has a hard limit of never falling under $1, and when the value is less than $5 the value of the stock is increased by (5 - value)/2, half the distance to $5. If its delta is negative while the stock value is less than $5, the delta is decreased by an additional 5%. If a stock's value surpasses the market cap, its delta is decreased by an additional 10% if it is positive. The market cap is calculated based on the Bank level as follows.

With Supreme Intellect

This is a summary of all the aspects of the Stock Market affected by Supreme Intellect (Base Value / Supreme Intellect / Reality Bending / Both Auras):

  1. The severity of base delta decrease each tick
    • Severity: 3% / 2% / 2.9% / 1.9%
  2. The severity of the 3% chance to randomly change the stock value
    • Severity: -5 to 5 / -10 to 10 / -5.5 to 5.5 / -10.5 to 10.5
  3. The severity of the 10% chance to randomly change the stock delta
    • Severity: -0.15 to 0.15 / -0.25 to 0.25 / -0.16 to 0.16 / -0.26 to 0.26
  4. The severity of the 20% chance of selecting a new random stock delta when the stock is Chaotic
    • Severity: -1 to 1 / -4 to 4 / -1.3 to 1.3 / -4.3 to 4.3
  5. The maximum possible duration for a newly selected stock mode
    • Maximum duration: 700 / 500 / 680 / 480
  6. The chance to bypass normal mode selection and instead become Chaotic
    • Bypass chance: 0% / 50% / 5% / 50%

Strategy

The underlying strategy for getting profit in the stock market is to buy low, and sell high. Therefore, it is recommended that you calculate the resting value for each stock (10 x (id+1) + Bank level -1, with id being the stock, CRL being 0, CHC being 1 and so on) and to buy when the stock is significantly below this price, and sell when it goes back to its resting value or higher. If you feel as though a stock is in a slow or fast rise, buy it as soon as you can, and sell when it starts to stabilize.

You may feel as though you're holding onto stocks for a long time, waiting for them to increase in price; this is normal, as some stocks may stay in the stable mode for hours. The Stock Market is about patience: waiting for the right time to buy at a low price, and waiting eventually for it to rise. Higher priced stocks are more risky to invest in, due to the fact that making a loss on a sale on a high priced stock will drastically reduce overall profit, but this can happen with all types of stocks.

The Stock Market is not generally seen as a very profitable mini-game, much less so than the Garden or Grimoire, for example, due to the un-reliability and time needed to profit. Its only profit can be seen by getting the achievements associated with the minigame, boosting CpS, as well as the Loans, which can be used in Golden Cookie combinations. Therefore, after you unlock all achievements, it is recommended to not use the Stock Market again, except for the loans.

Alternatively, to avoid calculating the resting value, duplicate this spreadsheet and fill it in with your own price data over time. It will give recommendations to buy or sell based on the average prices of your stocks over time.[1]

Supreme Intellect often makes stocks drop to very low prices, making them obvious purchases. Removing Supreme Intellect while holding on to stocks may help with bringing them back up to their resting values.

Achievements

Icon Name Description ID
Credit garage.png Initial public offering Make your first stock market profit. 457
Tiny bank.png Rookie numbers Own at least 100 of every stock market stock.
"Gotta pump those numbers up!"
458
Loaning company.png No nobility in poverty Own at least 500 of every market stock.
"What kind of individual is out there cramming camels through needle holes anyway?"
459
Finance headquarters.png Full warehouses Own at least 1,000 of a stock market stock. 460
Stockbrokers.png Make my day Make a day of CpS ($86,400) in 1 stock market sale. 461
Stockbrokers.png Buy buy buy Spend a day of CpS ($86,400) in 1 stock market purchase. 462
Palace of Greed.png Pyramid scheme Unlock the highest-tier stock market headquarters. 464
International exchange.png Liquid assets [note 1] Have your stock market profits surpass $10 million. 537
Palace of Greed.png Gaseous assets [note 2]
(shadow achievement)
Have your stock market profits surpass a whole year of CpS ($31,536,000). 463

Unused "Opportunities"

Opportunity tooltip.

In the code for the Stock Market minigame, there is an unused section of code which allows the player to generate opportunities. Opportunities allow the player to manipulate the stock market to "some degree", with 3 options to choose from. It is thought that these opportunities may be similar to the modes currently used, but the player can stop and start them at will, or may have been in place before loans, possibly due to the fact that they depend on the office level and have 3 options, similar to the loans. The tooltips for opportunities can be accessed by adding this code into the console, and hovering over the Cursor:

Code

Game.Objects.Cursor.l.onmouseover = function() { Game.tooltip.dynamic = 1 Game.tooltip.draw(this, Game.Objects.Bank.minigame.oppTooltip(), 'store') Game.tooltip.wobble() } Game.Objects.Grandma.l.onmouseover = function() { Game.tooltip.dynamic = 1 Game.tooltip.draw(this, Game.Objects.Bank.minigame.refillTooltip(), 'store') Game.tooltip.wobble() }

Additionally, this code allows the player to hover over the grandma to see how sugar lumps would've been used. Opportunities can only be used once an hour; sugar lumps refill this timer and also "give a quick burst to the economy".

Opportunity lump use.


Trivia

  • The stock market is so far the only minigame that doesn't allow the player to spend sugar lumps to speed up the process (although there is an unused piece of code that allows this, see above).
  • The text 'Dough Jones Index' in the stock market background is a reference to the Dow Jones Index.

Notes

  1. Used to be one year of profit, which has now become a shadow achievement. Changed between 4 months and 3 months of profit in beta, now changed to $10 million.
  2. Used to be a normal achievment, changed to shadow in update 2.031, and replaced with an achievement requiring only $10 million profit.
Minigames
DirtSoil.png
Garden
Finance headquarters.png
Stock Market
Mokalsium.png
Pantheon
Diminish Ineptitude.png
Grimoire
Minigames overviewCategory:Minigames
Advertisement