How can I use AJAX?
Posted: Thu Aug 06, 2015 5:48 am
by hakperest
I need some vars be included from server. How can I get external contents into entire programming area?
For example I want import updated var name form server, can I import it with AJAX like command?
Re: How can I use AJAX?
Posted: Thu Aug 06, 2015 8:35 am
by EViews Steve
We currently don't have any way for you to programmatically access a web service from EViews code. However, if the data from your server is available as a simple HTML table format or as a file, you can use HTTP URLs in both WFOPEN and IMPORT commands to get the data into EViews.
Code: Select all
import http://real-chart.finance.yahoo.com/table.csv?s=AAPL&a=11&b=12&c=1980&d=05&e=16&f=2015&g=d&ignore=.csv
Steve