jacktrades/JamochaTrade — Issue #45: Buy/Sell functions need refactoring
Author: jacktrades
Created: 2011-11-11 06:37:13+00:00
State: open

The buy/sell and order processing routines are in need of some serious refactoring. Also the way the order processing system works will probably need to be rethought, the code simply looks ugly.

Adding a position to the portfolio (or adding to or selling from a position in the portfolio) should be broken out into a separate function.

The program logic and display code is all put together, this probably should be separated as well.