<< get_stock_code Trity IOT Module iot_init >>

Trity IOT Module >> Trity IOT Module > get_stock_data

get_stock_data

Get the KLSE stock data from Yahoo Finance

Calling Sequence

y = get_stock_data(stock_code,start_date,end_date)

Parameters

stock_code :

Stock code for the stock (Yahoo Finance)

start_date :

Data starting date. String in DDMMYY

end_date :

Data ending date. String in DDMMYY

Description

This is to get the stock date from Yahoo Finanace server

Examples

[mes,cod]=get_stock_code('petronas');
start_date = "01011950";
end_date = "15062015";
y = get_stock_data(cod(1),start_date,end_date)

See also

Authors


Report an issue
<< get_stock_code Trity IOT Module iot_init >>