Saturday, September 17, 2011

How prices are calculated (Pro Version)

The Pro version of the ML Bot uses a layered formula to decide the selling and the buying prices.

The Bot formula is calculated as:
  1. load from CardsMTGO3.txt,
  2. apply buying or Selling Price +/- percentage defined in the “Prices” tab and in the “PersonalPercentages.txt” files,
  3. check the modified price versus the price limit,
  4. checks PersonalPrices.txt
Let's pretend CardsMTGO3.txt has the following line:04 000 04 000 045 5DN R Desecration Elemental# 0.230 0.264 0.126 0.144
and that “Foil - Buying price correction” is set to −20%. This means that ML Bot will buy the foil version of Desecration Elemental for 0.115 tickets, that is 0.144 - 20% of 0.144 = 0.144 - 0.029.

It will then check to make sure that price falls within the range of maximum price and then check the PersonalPrices.txt file to see if the card is listed. If it neither exceeds the maximum and/or it is not listed in PersonalPrices.txt it will buy Foil Desecration Elemental for 0.115 tickets. If it is above the maximum listed, it will ignore the card and not buy it. If it is listed in the PersonalPrices.txt file it will buy the card for the price in that file ignoring any modifiers.

No comments:

Post a Comment