Delete records using stock prices

Delete records using stock prices

Hello,

Is there a way for me using scheduler to delete certain fields by checking the current price or closing price of a stock against a price set in my database and if the values are > or < execute the deletion? 

Basically I just need a way to check current prices or closing prices of stocks from within creator or scheduler. 

Thanks!