View Full Version : Stock Tracker
Scott Gonzales
03-07-2009, 12:31 PM
I created a tool to follow your purchses and sells, while summarizing your profit or loss. You input the price you paid and the computer will find the current price of the share and make the calculations.
Later, I will add code to give summary data and reports that include commission expenses as we will later need this information for tax purposes.
The Link is;
http://www.iraqstockx.com/SharesTrackerSignin.asp
Sign in as a new member.
Tattoo4u
03-07-2009, 12:54 PM
wow very nice Scott, will have to input data latr but very nice :clapping:
billh
03-07-2009, 01:20 PM
This is a great tool !
Hot Sauce 080
03-07-2009, 02:02 PM
wow..i've never calculated my purchases before. I hope im doing this right. Is the current value secton in dollars? hmmm
Tatak Pinoy
03-07-2009, 02:28 PM
This is cool, but what about stock splits? Would be nice if you could incorporate splits in your calculation.
I created a tool to follow your purchses and sells, while summarizing your profit or loss. You input the price you paid and the computer will find the current price of the share and make the calculations.
Later, I will add code to give summary data and reports that include commission expenses as we will later need this information for tax purposes.
The Link is;
http://www.iraqstockx.com/SharesTrackerSignin.asp
Sign in as a new member.
Tattoo4u
03-07-2009, 02:36 PM
ok in puting now
need to find
Mamoura real estate
Investment bank
Middle east bank
and
Islamic bank
any help :sweating:
Hot Sauce 080
03-07-2009, 02:37 PM
ok so i cant incorporate the free shares i got? Back to the drawing board..lol
Hot Sauce 080
03-07-2009, 02:39 PM
I found them middle east bank is called
Iraqi Middle East Bank
Al-Mamoura Realestate
Iraqi Investment Bank
Hope this helps:emo:
ok in puting now
need to find
Mamoura real estate
Investment bank
Middle east bank
and
Islamic bank
any help :sweating:
WhiteFeather
03-07-2009, 02:41 PM
Scott, Is there an e-mail limitation ? It would not accept my safe-mail account ?
Thanks. WF
Tattoo4u
03-07-2009, 03:04 PM
I found them middle east bank is called
Iraqi Middle East Bank
Al-Mamoura Realestate
Iraqi Investment Bank
Hope this helps:emo:
cool then, big help and right in front of me as usual :bigsmile:
Scott Gonzales
03-07-2009, 03:08 PM
No, the current value is in Dinars. I have not placed the conversion to dollars yet. It is easy to calculate though, just divide the value in Dinars by the current exchange rate. My database does not keep track of the current conversion rate so the calculation is not there.
wow..i've never calculated my purchases before. I hope im doing this right. Is the current value secton in dollars? hmmm
Scott Gonzales
03-07-2009, 03:11 PM
If you get free shares, just input the price/share for those shares as 0. The computer will give you credit for the shares at the current price.
This is cool, but what about stock splits? Would be nice if you could incorporate splits in your calculation.
Tattoo4u
03-07-2009, 03:13 PM
an overall stock total at the bottom would b nice also :yes:
Scott Gonzales
03-07-2009, 03:15 PM
Mamoura real estate = Al-Mamoura Realestate Investment
Investment bank = Iraqi Investment bank
Middle east bank = Iraqi Middle East Bank
Islamic bank = Iraqi Islamic Bank
ok in puting now
need to find
Mamoura real estate
Investment bank
Middle east bank
and
Islamic bank
any help :sweating:
Scott Gonzales
03-07-2009, 03:20 PM
The email filter has only 2 requirements other than unacceptable characters (which I will not give for security reasons). You need an "@" character and length limit of 20 characters. I changed the maximum length to 50 characters. Hope that helps.
Scott, Is there an e-mail limitation ? It would not accept my safe-mail account ?
Thanks. WF
Scott Gonzales
03-07-2009, 03:24 PM
Give me a little more information. Do you mean a view with all shares from each company, i.e. Warka combined? If so, that view will not know what price you paid since it will vary. I could still create a view with companies grouped with total shares owned then give you the current value of that company.
an overall stock total at the bottom would b nice also :yes:
WhiteFeather
03-07-2009, 03:25 PM
The email filter has only 2 requirements other than unacceptable characters (which I will not give for security reasons). You need an "@" character and length limit of 20 characters. I changed the maximum length to 50 characters. Hope that helps.
Cool, that should do it, Thanks :handshake: WF
Tattoo4u
03-07-2009, 03:39 PM
yea i was just thinking total shares of all co. combined
19 co. listed
8,454,000 shares total
TY again this is great, now i have about 9 more people to do it for LOL!
GottaDash
03-07-2009, 03:46 PM
Thank SG this is REALLY cool!:rock::cool-too:
I can't wait to actually have some stock to track! :giggle:
RoyalBeluga
03-07-2009, 04:11 PM
Thank SG this is REALLY cool!:rock::cool-too:
I can't wait to actually have some stock to track! :giggle:
Aren't you invested in the ISX yet?
Betty
03-07-2009, 04:27 PM
WOW, Scott, that's terrific. I have it all typed in and am in the black. I couldn't find Etehad Bank, so I put it under National, as I think they are the same. Also, I can't find Iraqi Civilian Bank.
Help!
Betty
GottaDash
03-07-2009, 04:56 PM
Aren't you invested in the ISX yet?
Hey back off buddy. I had issues. :blush:
RoyalBeluga
03-07-2009, 04:59 PM
Hey back off buddy. I had issues. :blush:
I thought you was already in the ISX, no?
GottaDash
03-07-2009, 05:10 PM
I thought you was already in the ISX, no?
Let's put it this way. I've done quite a bit of research the past few months.
Crow-ish enough for you?
RoyalBeluga
03-07-2009, 05:14 PM
Let's put it this way. I've done quite a bit of research the past few months.
Crow-ish enough for you?
You've lost me .... :thinking:
Tattoo4u
03-07-2009, 05:38 PM
yea Scott i tried to get some more accounts going for some of my people and i use safe-mail also and it won't accept any of them saying they r invalid
help please :sweating:
rpm629
03-07-2009, 05:44 PM
Thanks Scott...
Now what will I do with all the extra time I will save from putting in the updates every trading day...lol
triumphantcorp
03-07-2009, 06:06 PM
I created a tool to follow your purchses and sells, while summarizing your profit or loss. You input the price you paid and the computer will find the current price of the share and make the calculations.
Later, I will add code to give summary data and reports that include commission expenses as we will later need this information for tax purposes.
The Link is;
http://www.iraqstockx.com/SharesTrackerSignin.asp
Sign in as a new member.
HI Scott Gonzales,
Thank you very much for this fantastic tool. I have a question for you ( or for anyone that can answer)? Does "Iraq Civilian Bank" have another name that it goes by on the ISX? I cannot locate it on your tracker.
Triumphantcorp
Scott Gonzales
03-07-2009, 06:27 PM
Civilian Bank is the same as National Bank
WOW, Scott, that's terrific. I have it all typed in and am in the black. I couldn't find Etehad Bank, so I put it under National, as I think they are the same. Also, I can't find Iraqi Civilian Bank.
Help!
Betty
Scott Gonzales
03-07-2009, 06:29 PM
Send me the email address by email and I will see what is going on
scott.gonzales@gmail.com
yea Scott i tried to get some more accounts going for some of my people and i use safe-mail also and it won't accept any of them saying they r invalid
help please :sweating:
Seaview
03-07-2009, 06:31 PM
I have it all typed in and am in the black. I couldn't find Etehad Bank,
Betty
Etehad Bank is also known as Union Bank.
WhiteFeather
03-07-2009, 06:43 PM
Scott, It will not accept safe-mail, let us know what to do or when it will accept safe-mail e-mail, Thanks in advance. WF
Betty
03-07-2009, 10:08 PM
Thanks guys, I've got it now. If them were free shares, then I just listed them with 0 paid for. Right?
Thanks,
Betty
War Eagle
03-07-2009, 10:22 PM
Etehad bank is Union Bank; Iraq Civilian Bank is National Bank
Scott Gonzales
03-07-2009, 11:20 PM
safe-mail should work now. The "-" was not an accepted character. I made the change and you can use that character now. Let me know if you have any more problems.
Scott, It will not accept safe-mail, let us know what to do or when it will accept safe-mail e-mail, Thanks in advance. WF
435613422
03-13-2009, 02:42 PM
the tracker doesn't provide the same number as the excel tool.
Scott Gonzales
03-13-2009, 06:07 PM
Unfortunately, I only have a minute and cannot go back and look at the code, but I think the tracker deducts the commission charge frmo the profit or loss total. Maybe that is the reason for the difference.
Please give an example of the difference and I will check the Tracker code and database.
the tracker doesn't provide the same number as the excel tool.
War Eagle
03-13-2009, 09:02 PM
Scot;Does this mean we should put in our price before commissions,so that when the tracker subtracts the commissions it will be correct?
lglwzrd
03-13-2009, 09:24 PM
thank you!!!!!!!!!!! it is so cooooooollll!! i like to get up and count my profits these days-2 clicks and im there-in the black!!!!!!:kiss::dance::cash::yes:
435613422
03-13-2009, 09:54 PM
Unfortunately, I only have a minute and cannot go back and look at the code, but I think the tracker deducts the commission charge frmo the profit or loss total. Maybe that is the reason for the difference.
Please give an example of the difference and I will check the Tracker code and database.
i insert all the answers, but it seems that the commission was not included in the result. One of my share purchase at 1.25 plus Warka .01 fee = 1.26 which is shown on the excel because I add manually. However, this tool show 1.25 even when I add the commission in the box.
Scott Gonzales
03-16-2009, 03:28 PM
You are correct. I checked the code and the commission is curently not deducted. I will get to that soon.
The input is straight forward. There are separate input boxes for number of shares purchased. Price of each share. Commission for the trade. The computer will update your gain or loss every time new ISX data comes out.
I plan to create a graph of your loss or gain but that may take a while.
i insert all the answers, but it seems that the commission was not included in the result. One of my share purchase at 1.25 plus Warka .01 fee = 1.26 which is shown on the excel because I add manually. However, this tool show 1.25 even when I add the commission in the box.
Tattoo4u
03-18-2009, 07:43 PM
anyone elses stock info missing from the stock tracker???
Tattoo4u
03-18-2009, 08:26 PM
i must b on everyone's ignore list :crying:
Scott Gonzales
03-18-2009, 08:40 PM
Remember, I am not a professional programmer. Yet, I can track down any problem. What info is missing from the Stock Tracker?
Part of the problem some people may have is related to the creation of the database. Early on, the ISX changed company names many times. It was difficult to figure out what data went to what company.
As far as the tracker is concerned, though, it only compares two prices. The price you paid (and input yourself ) with the most current day trading price. The ISX has been much better about keeping the names the same.
BTW, I made some updates to the tracker tool. I placed your total commission next to your profit or loss. I also linked the share tracker tool to the split/dividend tool. When your purchased shares are listed, the computer will check the IraqStockX split/dividend tool and evaluate if a member placed a split in the tool that applies to your shares.
We all know if is very difficult to pin down exactly when a split or dividend is given, so I expect some problems with this analysis. Yet, it is a good start so maybe we can get more specific about when splits actually occurred.
I got motivated to do this when I received a new certificate from Al-Karmal for Mosul Bank that included all of my three previously purchased shares of Mosul bank then gave me the 12% free shares. I noticed that someone had already placed this split in the split/dividend tool, yet I just got my updated certificate today.
anyone elses stock info missing from the stock tracker???
Tattoo4u
03-18-2009, 08:49 PM
pmed u :-)
Tattoo4u
03-18-2009, 09:47 PM
ok everything back, all stocks had disappeared but r back now :-)
Scott Gonzales
03-18-2009, 10:10 PM
Should be OK now. There was a problem with handling null vlaues.
pmed u :-)
cowpoke
03-18-2009, 10:11 PM
Should be OK now. There was a problem with handling null vlaues.
Thank You Scott for all your contributions!!:yes:
lglwzrd
03-18-2009, 10:32 PM
i purched warka 3x-yet the tracker doesnt have them all together-they are spread out. i did input them 3 in a row...what happened?
MarkOne
03-19-2009, 02:08 AM
We all know if is very difficult to pin down exactly when a split or dividend is given, so I expect some problems with this analysis. Yet, it is a good start so maybe we can get more specific about when splits actually occurred.
Everyone seems (for the most part) to receive their Free Shares/Dividends/Paid-Up Capital Shares at different times. I don't know how Warka determines 'who' and 'when' as there are many who receive there's before me and several who receive there's well after me.
I do have this list that I have been keeping. It is not complete but there is quite a bit of information on it.
Any additions from others will be incorporated if you have actual dates or close dates.
November, 2006 (estimate - unconfirmed)
Dar Es Salam Investment Bank - 100% Free Shares - (G.A. Meeting Date Unknown)
May 15, 2007 (estimate)
Warka Bank - 64.5% Free Shares - (G.A. Meeting Date Unknown)
May 16, 2007
Babylon Bank - 15% Dividends
November 26, 2007
Economy Bank - 40% Free Shares + 43% Paid Up Shares (1 IQD per Share) - (G.A. Meeting Date Unknown)
Mansour For Medicine - 19% Free Shares + 50% Paid Up Shares (1 IQD per Share) - (G.A. Meeting Date Unknown)
Gulf Bank - 7% Paid Up Shares (1 IQD per Share) - (G.A. Meeting Date Unknown)
December 12, 2007
Iraqi Middle East Investment Bank - 14.814% Free Shares (Received: Dec. 12, 2007) - (G.A. Meeting Date Unknown)
January 12, 2008
Sumer Bank - 4% Free Shares + 16% Paid Up Shares (1 IQD per Share) - (G.A. Meeting Date Unknown)
(last trade date: Oct. 30, 2007)
February 17, 2008
Ashour Bank - 20% Free Shares + 80% Paid Up Shares - (G.A. Meeting Date Unknown)
May 15, 2008
Iraqi Middle East Investment Bank - 35.484% Free Shares (updated May 30, 2008) (received November 27, 2008)
Warka Bank - (% Free Shares / Dividends Unknown) (GA meeting only - no dividend)
May 20, 2008
Credit Bank - 40% Free Shares + 40% Dividends
July 24, 2008
Modern Paint - 15% Dividends
August 24, 2008
North Bank - 12% Cash Dividends
National Metallic Industries and Bicycles - 7.5% Cash Dividends
Bank Of Baghdad - 32.142% Free Shares (received November 27, 2008)
Investment Bank of Iraq - 26.051% Free Shares (received November 27, 2008)
September 4, 2008
Ashour Hotel - 100% Paid Up Shares (1 IQD per share)
September 18, 2008
General Contracting - 100% Paid Up Shares (1 IQD per Share)
September 22, 2008
Al-Nukhba for General Construction - 40% Paid Up Shares (1 IQD per share)
Gulf Bank - 16% Free Shares + 34% Paid Up Shares (1 IQD per share)
Basrah Bank - 12% Free Shares + 14% or 20% Paid Up Shares (1 IQD per share)
Dar Al Salam Insurance - 11% Free Shares + 25% Paid Up Shares (1 IQD per share)
Iraqi Land Transport - 70% Free Shares
October 8, 2008
Carton Products Company - 100% Paid Up Shares (1 IQD per Share)
October 13, 2008
Mansour Pharmaceuticals - 9% Dividends (Paid as 1 IQD Each) (received December 30, 2008)
December 21, 2008
Mousil Bank - 28% Paid Up Shares (1 IQD per Share)
Kendi Vaccines and Veterinary Drugs - 120% Paid Up Shares (1 IQD per Share)
March 15, 2009
Warka Bank - (G.A. Meeting March 15, 2009)
Scott Gonzales
03-19-2009, 05:38 AM
The tracker currently prints your shares based on purchase date then company name so your most recent purchases will be on top. With time, I will place links so you can list your purchases based on your own preferred method.
i purched warka 3x-yet the tracker doesnt have them all together-they are spread out. i did input them 3 in a row...what happened?
Scott Gonzales
03-19-2009, 05:41 AM
I will check this info with the data in the IraqStockX Dividend/Split tool.
Everyone seems (for the most part) to receive their Free Shares/Dividends/Paid-Up Capital Shares at different times. I don't know how Warka determines 'who' and 'when' as there are many who receive there's before me and several who receive there's well after me.
I do have this list that I have been keeping. It is not complete but there is quite a bit of information on it.
Any additions from others will be incorporated if you have actual dates or close dates.
November, 2006 (estimate - unconfirmed)
Dar Es Salam Investment Bank - 100% Free Shares - (G.A. Meeting Date Unknown)
May 15, 2007 (estimate)
Warka Bank - 64.5% Free Shares - (G.A. Meeting Date Unknown)
May 16, 2007
Babylon Bank - 15% Dividends
November 26, 2007
Economy Bank - 40% Free Shares + 43% Paid Up Shares (1 IQD per Share) - (G.A. Meeting Date Unknown)
Mansour For Medicine - 19% Free Shares + 50% Paid Up Shares (1 IQD per Share) - (G.A. Meeting Date Unknown)
Gulf Bank - 7% Paid Up Shares (1 IQD per Share) - (G.A. Meeting Date Unknown)
December 12, 2007
Iraqi Middle East Investment Bank - 14.814% Free Shares (Received: Dec. 12, 2007) - (G.A. Meeting Date Unknown)
January 12, 2008
Sumer Bank - 4% Free Shares + 16% Paid Up Shares (1 IQD per Share) - (G.A. Meeting Date Unknown)
(last trade date: Oct. 30, 2007)
February 17, 2008
Ashour Bank - 20% Free Shares + 80% Paid Up Shares - (G.A. Meeting Date Unknown)
May 15, 2008
Iraqi Middle East Investment Bank - 35.484% Free Shares (updated May 30, 2008) (received November 27, 2008)
Warka Bank - (% Free Shares / Dividends Unknown) (GA meeting only - no dividend)
May 20, 2008
Credit Bank - 40% Free Shares + 40% Dividends
July 24, 2008
Modern Paint - 15% Dividends
August 24, 2008
North Bank - 12% Cash Dividends
National Metallic Industries and Bicycles - 7.5% Cash Dividends
Bank Of Baghdad - 32.142% Free Shares (received November 27, 2008)
Investment Bank of Iraq - 26.051% Free Shares (received November 27, 2008)
September 4, 2008
Ashour Hotel - 100% Paid Up Shares (1 IQD per share)
September 18, 2008
General Contracting - 100% Paid Up Shares (1 IQD per Share)
September 22, 2008
Al-Nukhba for General Construction - 40% Paid Up Shares (1 IQD per share)
Gulf Bank - 16% Free Shares + 34% Paid Up Shares (1 IQD per share)
Basrah Bank - 12% Free Shares + 14% or 20% Paid Up Shares (1 IQD per share)
Dar Al Salam Insurance - 11% Free Shares + 25% Paid Up Shares (1 IQD per share)
Iraqi Land Transport - 70% Free Shares
October 8, 2008
Carton Products Company - 100% Paid Up Shares (1 IQD per Share)
October 13, 2008
Mansour Pharmaceuticals - 9% Dividends (Paid as 1 IQD Each) (received December 30, 2008)
December 21, 2008
Mousil Bank - 28% Paid Up Shares (1 IQD per Share)
Kendi Vaccines and Veterinary Drugs - 120% Paid Up Shares (1 IQD per Share)
March 15, 2009
Warka Bank - (G.A. Meeting March 15, 2009)
lglwzrd
03-19-2009, 09:13 AM
well, i put the same purchase date for all stocks. i input the data consecutively, its when the tracker updated that it seperated the multiple purchases...
Scott Gonzales
03-19-2009, 09:36 AM
Send your account sign in info to me by Private Message. I will look into it.
well, i put the same purchase date for all stocks. i input the data consecutively, its when the tracker updated that it seperated the multiple purchases...
Scott Gonzales
03-19-2009, 03:55 PM
Should be OK now.
Send your account sign in info to me by Private Message. I will look into it.
lglwzrd
03-19-2009, 08:45 PM
thank you!! its fine. now, please make all of my shares increase 10 fold....thanks-ill wait for the results!!:party::party:
Scott Gonzales
04-05-2009, 10:38 AM
I added a graph of your total daily profit below your list of currently held shares. The graph shows the last 14 trading days so you can get an idea of how your portfolio has done relative to the last few weeks.
Tattoo4u
04-05-2009, 02:35 PM
I'm trying to enter commercial I bought for someone and keep getting an error
Scott Gonzales
04-05-2009, 04:41 PM
Two issues:
First: for those who write their own code (technical stuff), this type of error should not be exposed. Instead you should have received a generalized error and I would have found the specific error in the logs. I generally always set the error notification configuration back the the more secure mode. For those who have concerns about security issues; sorry. Minor thing, but still.
Now, your error. I was working on the site yesterday and noticed that when you wanted to update a record from your shares view page, the code was adding the record as a new record instead of replacing the record. So, I wrote code that replaced the record instead of adding another record. You obviously found a bug and the bug has been fixed. Remember guys, I am a part-timer on this stuff. I do check the code myself, yet is is just about impossible to catch all of them until people start to use the page. Thanks for the heads up here. If anyone gets a general error (that is all you are going to get from now on), please let me know. You can either post here, or my forum at IraqStockX.com or send me email scott.gonzales@gmail.com
I'm trying to enter commercial I bought for someone and keep getting an error
Tattoo4u
04-05-2009, 05:04 PM
ok cool, once again thanks for all your help. i have been practicing php code and am getting somewhat proficient although all self taught and only a 5th grade education to boot. not easy stuff indeed :sweating:
Scott Gonzales
04-05-2009, 05:14 PM
The best thing about writing code, for me, is that the teacher never lies. If it is wrong, i cannot blame the computer. Sometimes I work for hours on a single bug. Always get it right and always learn something in the process. I should have been a programmer. Took the wrong road and ended up in medicine.
ok cool, once again thanks for all your help. i have been practicing php code and am getting somewhat proficient although all self taught and only a 5th grade education to boot. not easy stuff indeed :sweating:
mike032588
05-18-2009, 11:11 PM
Al-Warka Bank 11/1/2006 29%
Al-Warka Bank 5/1/2007 64.5%
Al-Warka Bank 2/28/2008 64.5
Al-Warka Bank 9/1/2008 47.058
Al-Warka Bank 5/7/2009 47.058% free shares
Now thats on the tracker page.. if i brought 700,000 shares of warka on 2/19/2008 how do i calculate that in... only put like 360,000? how do i calculate the other ones?
mike032588
05-19-2009, 10:32 AM
anyone?!?!
geowhiz
05-19-2009, 11:25 AM
anyone?!?!
Check the PM
Scott Gonzales
05-19-2009, 10:10 PM
Al-Warka Bank 11/1/2006 29%
Al-Warka Bank 5/1/2007 64.5%
Al-Warka Bank 2/28/2008 64.5
Al-Warka Bank 9/1/2008 47.058
Al-Warka Bank 5/7/2009 47.058% free shares
Now thats on the tracker page.. if i brought 700,000 shares of warka on 2/19/2008 how do i calculate that in... only put like 360,000? how do i calculate the other ones?
If you are referring to the Stock Tracker, you have to wait until your broker gives you the free shares. Then just place the quantity of free shares at a price of 0 dinars.
You cannot rely on the exact dates of the split dividend tool. The dates are from members and are only estimates. I think you can rely on the fact that the split or dividend did occur though.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.