mIRC Home    About    Download    Register    News    Help

Print Thread
#228942 16/01/11 05:53 PM
Joined: Mar 2007
Posts: 41
E
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Mar 2007
Posts: 41
hi
i need a !trigger script of stock exchange .. for example !dse ucbl
after the trigger it will show

Code:
Market Status: Closed
Company Name:  UNITED COMMERCIAL BANK LTD.
Last Trade 	222.50
Last Update 	Jan 16, 2011 at 17:25:45
Change  -2.4 -1.07%
Open Price 	226.0
Yesterday Close 	224.9
Day's Range 	217.1 - 227.5 
Market Lot 	50 



Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Mar 2007
Posts: 41
E
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Mar 2007
Posts: 41
Code:
!dse ucbl
Market Status: Closed
Company Name: UNITED COMMERCIAL BANK LTD.
Trading Code: UCBL
Company No: 11108
Last Trade: 208.70
Last Update: Jan 18, 2011 at 15:48:30
Change: -9.3 -4.27%
Open Price: 218.0
Yesterday Close: 218.0
Day's Range: 208.2 - 219.0
Market Lot: 50
Business Segment: Bank 


help pls

Last edited by EvilHeart; 18/01/11 06:58 PM.
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
That website's HTML is hell to parse. There is next to nothing identifiable in the HTML to know which part of the website you're reading.

I would suggest using another stock website unless some poor fool wants to write a script to parse that mess.


Link Copied to Clipboard