NB: I'm a noobie in web dev. Please help me.
I'm assigned a project to alert the user on reaching a specific value of Stock price in BSE/NSE. I'm using PHP.
i've some doubts.
1) How to get display the current stock value in user dashboard from yahoo/google finance ?
NB: Just saw an answer here. But couldnt understand the parsing part. How do i actually scrap the data from its website and store it in my DB ?
2) How do i check whether the value has reached the limit or not?
I'm thinking like this : --> I have to shedule a job from 10AM to 5PM or so and store it in the db. each time it gets stored, compare it with the prev value and try to alert.
Is the above way correct ? If not, suggest me another way. And how do i execute this? with which tools? how do i shedule a job to run for a particular time?
Can anyone please explain me how do i do all these ? Please.
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire