Global Market

The Global Market is an ever-shifting machine that only a master of industry can crack. As you are producing Products, knowing when to sell will be key to maximizing your profits. Selling too many items will cause the price of Products to drop below acceptable levels while sending too few Products will raise the price of a Product up, but low sales mean not enough money to pay your bills. Balancing how much of a Product you send versus the price of said Product will be imperative.

Supply and Demand  

Every Settlement sets the Demand for each Product in its Shops. Demand proportional to the number of people within a Settlement. The higher the population they more Product they demand.

     
 * Demand = Round(0.1 * ceil(population / 20000) * (30 / timeToProduce) * producedAmount * tierValue * difficulty)
 * Supply Demand = Global Demand - (Global Stored + Global Sold)
 * Global Demand = Sum of the Demand for a Good from every Settlement. The Demand for each Settlement is determined by the following equation:
 * Global Sold = the amount of a Good sold to all Settlements and to the State
 * Global Stored = the amount of a Good Stored in all Settlements, including the Wholesaler

Pricing

The baseline price for a Product is affected by its Supply. If a Product's Supply in all Shops on the map is larger than the Product's Demand, then its price will decrease. If the Product's Demand is higher than the Supply, then its price will increase.


 * Price Equation = Base Good Price x (1 + ( Square Root ( Global Demand - ( Global Shop Stored + Global Sold )  ) /  50 ) )