I agree, it's a good idea, but would be pretty hard to implement, due to various reason:
For pet trades, when placing prices, you have to take into consideration a bunch of variables: Deviant, GP, gender, genes and combination of, etc, so a global sales history here pretty much won't too much, especially with how some players are placing pet prices extremely low/high.
For the Items Trade, it might work, but, like most markets, you'll have to take into consideration supply and demand; an example would be Rainbow Jaws, when I sold some of mine, they went for around 80k, because there were barely any selling, I think mine was the only one up, now it's around 40-50k maybe. Same with a bunch of other items, such as Energy Jar (Exploration events) and Vermillion (being the biggest one, where prices fluctuate due to players trying to control prices). -- Also, some players just don't bother checking prices and place items for what they think it's worth, or accidentally placed them for a low amount (Happens to me frequently, since I don't double check). Also, you'll have to take into consideration resellers, people who buy cheap items, then sell them again for a higher price. This has happened before with vermillion, where some players sell them for around 500 silver each, then someone goes and buys it, and places them for 1000 each, like with supply and demand, if there is a high supply, this won't work, but when there isn't it'll work wonders. Lastly, you'll have to take account for if it was buyout or bidding. To my knowledge, most players would use buyout, as it's a hassle to enter a 'bid war' for the item, but it can happen, if the item is placed cheap enough (an example is Energy Drinks being placed for around 100~1000 silver).
Now that the problems are out of the way, you'll have to take into consideration how it'll be implemented, such as looks and load; Would it give you a listing of all the prices, time, etc, of the item you're looking at? If so, I would think the lag would be pretty high, (if you take into consideration how long it takes to pull up 5+ pets when looking at the childrens). Also, you say about a week, so would the 'history' be deleted daily, or weekly (Such as Sunday, when the rewards are given out)?
My Pet Sales page --
Currently have 3 extra Blueprint: Military Academy level 3
#cfddcf -- #d0e7ba