Stock Mod update: 0.0.1-0.1.0

Programmers Guild

Moderator: Andreas the Wise

Post Reply
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Stock Mod update: 0.0.1-0.1.0

Post 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.

User avatar
Andreas the Wise
Posts: 5253
Joined: Sat Oct 27, 2007 10:41 pm
Location: The Island of Melangia, Atterock, Kildare
Contact:

Re: Stock Mod update: 0.0.1-0.1.0

Post 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.
The character Andreas the Wise is on indefinite leave.
However, this account still manages:
Cla'Udi - Count of Melangia
Manuel - CEO of VBNC. For all you'll ever need.
Vincent Waldgrave - Lord General of Gralus
Q - Director of SAMIN
Duke Mel'Kat - Air Pirate, Melangian, and Duke of the Flying Duchy of Glanurchy

And references may be made to Vur'Alm Xei'Bôn (a Nelagan Micron of undisclosed purpose).

Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Stock Mod update: 0.0.1-0.1.0

Post 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.

User avatar
Andreas the Wise
Posts: 5253
Joined: Sat Oct 27, 2007 10:41 pm
Location: The Island of Melangia, Atterock, Kildare
Contact:

Re: Stock Mod update: 0.0.1-0.1.0

Post 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.
The character Andreas the Wise is on indefinite leave.
However, this account still manages:
Cla'Udi - Count of Melangia
Manuel - CEO of VBNC. For all you'll ever need.
Vincent Waldgrave - Lord General of Gralus
Q - Director of SAMIN
Duke Mel'Kat - Air Pirate, Melangian, and Duke of the Flying Duchy of Glanurchy

And references may be made to Vur'Alm Xei'Bôn (a Nelagan Micron of undisclosed purpose).

Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Stock Mod update: 0.0.1-0.1.0

Post 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.

User avatar
Mateo Mattiassen
Posts: 25
Joined: Fri Jun 20, 2008 7:16 am

Re: Stock Mod update: 0.0.1-0.1.0

Post 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?
MATEO DIEZ MATTIASSEN
Secretary of Finance of the Republic of Flanders

User avatar
Kaiser Ometeotl I
Posts: 785
Joined: Sun Aug 22, 2010 9:32 pm

Re: Stock Mod update: 0.0.1-0.1.0

Post 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.

Post Reply

Return to “Church of the Machine God”

Who is online

Users browsing this forum: No registered users and 2 guests