Register
Results 1 to 2 of 2
  1. #1

    AuctionDB market value fomula.

    I've been trying to wrap my head around the market value formula. The part I'm having problems with is this:
    newMarketValue = (1-weight*0.5)*recentDatasMarketValue + weight*oldMarketValue
    Shouldn't the weights add up to 1?
    Ie shouldn't it be:
    newMarketValue = (1-weight*0.5)*recentDatasMarketValue + weight*0.5*oldMarketValue

  2. #2
    Sapu94's Avatar
    Posts
    7,114
    Reputation
    345
    Blog Entries
    25
    Tagged in
    1928 Posts
    Add to this user's reputation
    Quote Originally Posted by Mr Alpha View Post
    I've been trying to wrap my head around the market value formula. The part I'm having problems with is this:
    newMarketValue = (1-weight*0.5)*recentDatasMarketValue + weight*oldMarketValue
    Shouldn't the weights add up to 1?
    Ie shouldn't it be:
    newMarketValue = (1-weight*0.5)*recentDatasMarketValue + weight*0.5*oldMarketValue
    Yes you're right...in the code it's done in multiple lines so when I consolidated it for the article I guess I was just careless. I just fixed it. Thanks

    PS: For those who don't know what we are talking about... http://tradeskillmaster.wikispaces.c...B+Market+Value
    Last edited by Sapu94; March 16th, 2011 at 02:50 PM.


    Follow me and TSM on Twitter for important updates, news, and giveaways!
    TSM Website | /r/woweconomy & TSM Discord | Go Premium | TSM FAQ

    "A good programmer is someone who always looks both ways before crossing a one-way street."

 

 

Similar Threads

  1. TSM crafting cost vs auctiondb/auctioneer minimum buyout value, and the AH
    By MrBlah in forum General TradeSkillMaster Discussion
    Replies: 4
    Last Post: March 9th, 2011, 03:41 PM
  2. AuctionDb - Time since last scan
    By Tseng in forum General TradeSkillMaster Discussion
    Replies: 2
    Last Post: February 28th, 2011, 03:27 PM