Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Average Price Algorithmby Corion (Patriarch) |
on Jan 28, 2009 at 08:58 UTC ( [id://739457]=note: print w/replies, xml ) | Need Help?? |
If this is a homework problem, please show us the code (or ideas) you have so far. If this is a business problem, like for example, allocating commodities or equities to bidders in a market, your market (likely, some kind of exchange) most likely already has defined fixed rules on how the allocation has to happen. It's best to use these rules. If your market does not have such rules, look at the different allocation rules of different yet similar markets and adopt one of those.
In Section
Seekers of Perl Wisdom
|
|