LolMarket

*This article is up to date as of Anti-Idle version **1832**. If the current game version is later than this, the article may be outdated.*

## Idleability

Generally not idleable, but gem prices change when idling

LolMarket is a stockmarket-like feature in which you buy gems at a low price and then sell them at a higher price for profit. There are 10 different types of gems with different price ranges. The currency used in LolMarket is Green Coins, but it is also possible to gain EXP, Yellow Coins, and Blue Coins when selling gems with profit. As you gain more profit, your Capacity also increases, allowing you to buy more gems of each type.

## Basics

Purchase cheap gems, wait for the prices to rise, and sell them.

The first column shows how many gems you own. You can buy gems up through Capacity, and you can sell gems down to 0.

Buy Price is the current market value of a gem. Sell Price is the value that you obtain after considering commissions, fees, and all that other stuff nobody knows about. This game simplifies things and takes a flat 10% fee, so `Sell Price = Buy Price * 0.9`. (It is possible to change the multiplier to 0.95 through Ascension Perks.)

Demand predicts the future. Whenever LolMarket updates, the Demand is added to the Buy Price, and the next Demand value displays. Orange text means that the price is going down, and green text means it's going up.

One key to LolMarket is to buy a gem when it's cheap and its Demand is close to 0 or positive; this indicates that the price is about to start going up. Likewise, sell a gem when it's expensive and its Demand is close to 0 or negative; this indicates that the price is about to start falling.

## Capacity

Capacity starts at 50 when purchasing the feature. This means a player can purchase up to 50 of **each** gem type using the Buy button. There are ways to obtain gems beyond Capacity, but the Buy button isn't enabled for that gem until Capacity exceeds the gem quantity.

To gain Capacity, the player must make enough Profit to hit the next Capacity threshold. Once a threshold is reached, Capacity cannot be lowered; in other words, doing a poor job of buying/selling will not lower your Capacity.

The Profit required to reach a certain capacity is given by the formula below:

````
  nextCapacityReq = 100 * (_root.save.lolCapacity / 5) * (_root.save.lolCapacity / 5 - 10) * (_root.save.lolCapacity / 5 - 10);

````

The Capacity cap is 5000, so when substituting 4999, the formula above gives **97,950,809,919.2 Profit to reach 5000 Capacity**, which gets rounded down.

There is no hard cap for gems, but the display changes after owning 1 billion of a gem.

````
  if(_root.save.lolGems[gemLevel] >= 1000000000)
  {
     ownedText.text = "999M+";
  }

````

## Gem Prices

### Price Update

/\* Every second (or 40 frames if not playing at 40 FPS), LolMarket has a 1/13 chance to update. \*/ Validate

### Price Ranges

minimum is `450 * gemlevel`

maximum is `2550 * gemlevel`

### Demand

The next Demand has a greater chance of increasing if the gem is below its normal value, and the next Demand has a greater chance of decreasing if the gem is above its normal value (normal value being `1500 * gemlevel`). Various features will push the market in your favor more and more, so as you progress, you'll find that Demand decreases more heavily if you own fewer than `Capacity / 2` of a gem, and Demand increases more heavily if you own more than `Capacity / 2` of a gem; in other words, the market will fall when you need to buy a gem and the market will rise when you own a bunch of a gem.

Demand is softcapped at ±40. To push it beyond ±40 requires the usage of Control Market (aka Demand Control) and/or Awesome Adventures.

### Profit

When buying any gem, profit is decreased by the price you paid. When selling a gem, profit is increased by the price you received. Thus, to gain profit over time, you must sell gems for more than you bought them for.

Feeding Lv. 10 gems to a Pet increases profit as though the gems had been sold, but does not give any of the other benefits for selling a gem.

Profit can also be obtained by completing a Gem Trader Business.

## External Upgrades

### Ascension Perks

/\* Perk #32:

Level 1: Costs ?? Medium Perk Points. Sell price of LolMarket Gems is raised to 92% of buy price (normally 90%).

Level 2: Costs ?? Medium Perk Points. Sell price of LolMarket Gems is raised to 93% of buy price (normally 90%).

Level 3: Costs ?? Medium Perk Points. Sell price of LolMarket Gems is raised to 95% of buy price (normally 90%). \*/ Format and validate

## Technical Lights

One recommended starting configuration for tech lights is this:
`numberA = 1300
numberB = 1700
numberC = 0
boolean1 = false
boolean2 = true
boolean3 = true`
As you progress, try to lower numberA and raise numberB. numberC is fine anywhere below 10. The higher the number, the greater emphasis you're putting on the lower gem levels.