0
Wall Street algorithm?
Hi, im looking into what would take to build a Wall street-like algorithm when it comes to stock but i want to use it for a different application and way less complicated. I want it to look as such, for the “products” sold on a store for the algorithm to increase “prices”, the more on demand the higher it goes. Once it becomes less “popular “ for the “price to go down. Also it would have to be integrated to a POS system. I was wondering if anyone has had build something close to this before. Thank you!
1 Antwort
0
Could you assign a multiplier? for instance:
var product = 1.00;
var multiplier = (function(){
return product + (product * 0.01)
})();
so that as the price went up, so would the multiplier and as the price went down so would the multiplier? just a quick example