From: Erik V. <eri...@xs...> - 2010-03-05 22:52:24
|
All good and fine, except that precluding multiple sale actions complicates selling mixtures of shares of different sizes. If you have, say, 3 5% and 2 10% Prussian shares, a list of all possible (12) combinations should be offered to allow each possible combination to be sold in one sell action. As it is, no combinations need be included, as any mix can be sold for the same price in two (or more) actions. See additional comment below. Erik. -----Original Message----- From: Aliza Panitz [mailto:ali...@gm...] Sent: Friday 05 March 2010 22:53 To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] 1835 share selling On Fri, Mar 5, 2010 at 1:47 PM, brett lentz <bre...@gm...> wrote: >> > > There are two distinct use-cases here: > > 1. I sell a share, then realize I meant to sell multiple shares as a > single sale, and so I sell more shares. Result: This should be > counted as a single sale, with a single drop in stock value for the > whole sale transaction. You click "undo" and then sell them all as a single transaction. (Alternatively, Rails could generically prohibit selling shares one-at-a-time, since all games I'm aware of that discuss the topic explicitly disallow it.) [EV] I suppose you mean: selling one-by-one at *different* prices. But that is not what we're discussing here, so you're in fact strengthening my point. > 2. I deliberately want to trash the stock price of a company by > selling multiple shares as individual transactions. Result: This > should be counted as multiple sales transactions, and drop the stock > value for each sale transaction. > > I'm not sure there's a good code-based way for Rails to distinguish #1 > from #2 without additional information. > > Personally, I'm totally okay with saying that the correct way to > execute #1 is to click Undo, and re-do your single sale as intended. > This means that Rails should treat all sales as individual > transactions, and so achieving #2 is as easy as "Sell 1... then Sell > 1.... then Sell 1..." Yes. > > ---Brett. > ---------------------------------------------------------------------------- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Rails-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rails-devel |