Calculator:Shop calculator

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 11:17, 18 October 2024 (Created page with "{{Calc use|Module:Shop calculator}} {{JSCalculator}} Calculates the profit or cost of selling or buying a certain amount of items from a shop. The price a shop sells or buys at is the amount when the stock is at equilibrium. <pre class="jcConfig"> module=Shop calculator form=ShopCalcForm result=ShopCalcResult param = action|‎|Buying|buttonselect|Buying,Selling|Buying=priceShopSellsAt,shopSellsAtValue,buyQuantity;Selling=priceShopBuysAt,shopBuysAtValue,sellQuantity..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Templates used
Module:Shop calculator

Calculates the profit or cost of selling or buying a certain amount of items from a shop. The price a shop sells or buys at is the amount when the stock is at equilibrium.

module=Shop calculator
form=ShopCalcForm
result=ShopCalcResult
param = action|‎|Buying|buttonselect|Buying,Selling|Buying=priceShopSellsAt,shopSellsAtValue,buyQuantity;Selling=priceShopBuysAt,shopBuysAtValue,sellQuantity

param = priceShopSellsAt|Price shop sells at|1|int|0-999999999
param = priceShopBuysAt|Price shop buys at|1|int|1-999999999

param = shopSellsAtValue|Shop sells at(%)|1|int|0-2000
param = shopBuysAtValue|Shop buys at(%)|1|int|0-2000

param = delta|Price delta(%)|1|number|0-50|

param = baseStock|Default stock|0|int|0-999999|
param = currentStock|Current stock|0|int|0-999999|

param = buyQuantity|Items bought|1|int|1-10000000
param = sellQuantity|Item sold|1|int|1-10000000
Please input the data and submit the form.