Cookie Clicker

Cookie Clicker

132 arvostelua
AutoStockAdvisor
2
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
2.797 KB
16.6. klo 14.58
17.10. klo 7.33
5 muutosilmoitusta ( näytä )

Tilaa ladataksesi
AutoStockAdvisor

Kuvaus
This mod doesn’t disable Steam achievements.
Includes:

Auto-Trade
Automatically buys and sells based on your settings

Buy when:
-stock is active
-you own zero shares
-either price ≤ 50% of resting value and market phase is not “falling”
OR price < $2

Sell when:
-you own shares
-price ≥ 125% of resting value
-market phase is not “rising”

Visible BUY/SELL advice

-BUY indicator shows when above buy criteria are met

-SELL indicator shows when above sell criteria are met

Phase tracking

-Displays current market phase: Stable, Slowly Rising/Falling, Rapidly Rising/Falling, Fluctuating

Extra info
-Resting value (average price)
-All‑time Minimum & Maximum values*
-Duration of current phase in market ticks (1 tick = 60 sec)

*Min/Max values are tracked from mod load and reset on game reload or market reset.

Settings menu
-Toggle on/off:
-Auto‑trade
-BUY/SELL advice
-Phase tracking
-Extra info
-Notifications

How it works
Buy logic
Buys when the stock dips low enough—either under half its average while not in a falling phase, or ultra‑cheap (<$2).

Sell logic
Sells when stocks climb high enough (≥125% of average) and aren’t in a rising phase.

Remember: Cookie Clicker’s stock market is unpredictable, so profits aren’t guaranteed—and hey, code can have bugs, too!
29 kommenttia
Eeeeel 15.10. klo 11.29 
at line 145 (don't have to fix line 148) change M.buyGood(good, 1e6) to 1e5 and check the return value(false when failed to buy) to fix 'not buying' problem since it's what 'buy max' button set to
and for suggestion, at line 46 change to
M.getGoodMaxStock(M.goodsById[good]) - good.stock > 0
to buy more

"Cookie"
Plokmatic Tan 7.10. klo 19.50 
i'm saying that stock banking is most hands-on, this just makes it easy
Plokmatic Tan 7.10. klo 19.50 
this is the main most hands-on cookie method, buy buy buy!
sheetsdeathboy 7.8. klo 17.14 
i hav no friends
Ricky Schabusiness 7.8. klo 17.10 
how do you change the options, all i have is feature on off in settings
Capusta_Uchiha 23.7. klo 9.58 
It looks like it only buys when there is enough money to buy maximum amount at once. I can't define it exactly(

Also, can you add that autotrader would buy additional shares up to the maximum if I already have these shares and other conditions are met? It would be great if it keeps buying until it reaches storage maximum or conditions stop being met. Maybe also button to toggle this function
WolfGame  [tekijä] 22.7. klo 13.54 
idk why it's not working, for me it works fine.

It works when the game is minimalized
Capusta_Uchiha 22.7. klo 10.21 
I think autopurchase is not working(
After purchase notification appears, stock does not appear in my bank storage.

Also a question - does autotrader work if you minimize game?
WolfGame  [tekijä] 21.7. klo 9.26 
thanks for the suggestion, I wanted to add this for a long time but I didn't know how, so thanks for the solution and after some thought, the old logic will bring higher earnings in the long run, but the new proposed logic will make small and large earnings in the short and long run.

Consider it changed in few minutes
Eeeeel 21.7. klo 6.46 
I think shouldBuy(good, M) doesn't work as intended,
good.val < M.getRestingVal() * 0.5 &&
... && // down phase checks
good.val < 5
//because the previous code
//1. does not buy in falling phase even when they are already pretty low (like $1)
//2. does not buy when stock is under 50% resting because of the last good.val < 5

needs to be changed as
(good.val < M.getRestingVal() * 0.5 &&
(...phase checks) ||
good.val < 5)

also, Cookie