Page 1 of 1

Stock Mod update: 0.0.1-0.1.0

Posted: Tue Dec 01, 2009 5:09 pm
by Erik Mortis

Code: Select all

0.0.1 Config.php created. Layed out tables in config. Outlined status and type.
			Created index.php and .htaccess. Created tables in database. 
			created stockdblib.php Created create/detete_stock().
			Stole tranlog.php to become stocklog.php. Updated.
			Create stockmenu(). Create menu.php. 
			Now we can create/delete stock (no page yet) and get log/view trades. 
0.0.2 created portfolio.php. added 'log' to all function in stockloglib.php
			fleshing out all getters for stockdb.php. Created market.php to see stocks
			that are for sale. Will be expanded later. 
			Made createstock.php for company accounts to use. Just set price and amount.
			Moved use of bank_menu() into stock_menu().
			Formatting issues on pages fixed. 
0.0.3 Set up market so that each entry is a form that can be used to buy a stock. 
			Finished market.php so you can buy stock and it moves the money. 
			Added stock mod version number to menu. 
			get_market_stock_list() ignores the user's stocks. 
			add_stock() checks for stocks that are the same and just increases them.
			alter_stock_quantity() created to help with this. (ie, it does it).
			Created trade_stock() for market.php in stockdblib.php. (1 error messege haiku)
			Fixed problems in stocklog() and stockloglib.php.			
			Fixed/renamed log_stock_trade(): wasn't logging company.	
0.0.4 Removed bank_menu() from stock menu. Added link back to bank. 
			Removed 'cost' from the stock table. Updated pages. 
			Market moves stock, THEN moves money now. 
0.1.0 Added stockhtmllib.php with status select in it.
			Added alter_stock_status() to stockdblib.php.
			Portfolio page lets you change the status/price of a stock you own. (i.e. sell)
			All basic functionality now complete. 
All the basics are done! It is now usable.

Re: Stock Mod update: 0.0.1-0.1.0

Posted: Wed Jun 02, 2010 8:34 pm
by Andreas the Wise
With the stock mod, could you consider doing the following:
a. Remove TestCo (it’s just annoying me seeing a market filled with TestCo)
b. Give the general populous a way to see the other shareholders in a company.
c. If you have objections to b (don’t know why you would, but if you do), at least let National accounts see the shareholders for companies registered in that nation.
d. The admin account seeing the stock transaction log would be cool.
And when you have spare time, a request function (you’re welcome to steal code from my stock exchange to do that) so you can request stock at a given price from people – that would be nice. Also, a purely aesthetic thing – if you stored stocks in such a manner that if the same person offers the same stock for the same price, it’ll store that as one value, not as several (which is currently does if they’ve split or bought new stuff later etc). Again, you can steal my code for that if you want.

Re: Stock Mod update: 0.0.1-0.1.0

Posted: Wed Jun 02, 2010 8:43 pm
by Erik Mortis
I kinda abandon this project when you started yours. I don't really have the time to maintain mine when you have, to be honest, a more developed bit of software.

Re: Stock Mod update: 0.0.1-0.1.0

Posted: Wed Jun 02, 2010 8:57 pm
by Andreas the Wise
I won't dispute that mine is more developed, but I think the two don't compete because they fulfil different roles. Mine gives the experience of a working stock exchange - regular updates, market research, the chance to make money etc. Yours gives the function of a stock exchange (from a company point of view) – the ability to raise capital and trade ownership. While I never expect your stock exchange to have daily transactions, it is essential to provide an easy way to ‘sell’ ownership/privilege and ‘buy’ capital. So a couple more updates would be nice :)

Alternatively, actually releasing your loan mod would be cool too.

Re: Stock Mod update: 0.0.1-0.1.0

Posted: Wed Jun 02, 2010 9:07 pm
by Erik Mortis
That's so far from release it's not even funny. But it's still a potential.

If actual demand ever arises for the Stock mod, I'll come back to it. The loan mod would have higher priority.

Give me some time. I'll add it back to my list or things I forgot about and need to get going again.

Re: Stock Mod update: 0.0.1-0.1.0

Posted: Wed Sep 08, 2010 8:21 am
by Mateo Mattiassen
I would love to use the Stock Market for the Mattiassen Group (in the not-unlikely case that Flanders would join the SCUET).

Are there any plans in the foreseeable future to enact Andreas' suggestions?

Re: Stock Mod update: 0.0.1-0.1.0

Posted: Wed Sep 08, 2010 9:38 am
by Kaiser Ometeotl I
umm. It might be doable. I have little time, and little incentive anymore. If I could get funding from other SCUE nations I'd be inclined to implement a new revision.