Eviews crashing computer after running code
Posted: Tue Mar 20, 2018 12:55 pm
Hi,
After running my loop, my two screens turn black and eviews stop responding. The workfile and the program are enclosed.
I do not understand why it is not responding. Is it the fact that eviews has a memory limit( Wf was huge... 3 or 4gb)...
string signal = "signal_d signallong_d signalshort_d"
string type= "sr tr"
string certain = "ek cn uk jp au"
for %s {signal}
for %y {type}
for %i {certain}
matrix az_{%s}_{%y}_{%i} = @eeq(@ediv({%s}_{%y}_{%i},{%s}_{%y}_{%i}),1)
matrix(@rows(az_{%s}_{%y}_{%i}),@columns(az_{%s}_{%y}_{%i})) last_az_{%s}_{%y}_{%i}
next
next
next
cd "W:\RA\Gestion dynamique des devises\Modèle quantitatif\Backtesting\Backtesting\eviews\scenarios\workfile\a faire"
logmode(autosave=on) p
for %s {signal}
for %y {type}
for %i {certain}
for !i=2 to @rows(az_{%s}_{%y}_{%i})
rowplace(az_{%s}_{%y}_{%i},@rowextract(az_{%s}_{%y}_{%i},!i)+@rowextract(az_{%s}_{%y}_{%i},!i-1),!i)
rowplace(az_{%s}_{%y}_{%i},@emult(@rowextract(az_{%s}_{%y}_{%i},!i),@rowextract(@eneq(az_{%s}_{%y}_{%i},@lag(az_{%s}_{%y}_{%i},1)),!i)),!i)
rowplace(last_az_{%s}_{%y}_{%i},@emult(@rowextract(az_{%s}_{%y}_{%i},!i),@rowextract(@lag(@eeq(az_{%s}_{%y}_{%i},0),-1),!i)),!i)
next
next
next
next
After running my loop, my two screens turn black and eviews stop responding. The workfile and the program are enclosed.
I do not understand why it is not responding. Is it the fact that eviews has a memory limit( Wf was huge... 3 or 4gb)...
string signal = "signal_d signallong_d signalshort_d"
string type= "sr tr"
string certain = "ek cn uk jp au"
for %s {signal}
for %y {type}
for %i {certain}
matrix az_{%s}_{%y}_{%i} = @eeq(@ediv({%s}_{%y}_{%i},{%s}_{%y}_{%i}),1)
matrix(@rows(az_{%s}_{%y}_{%i}),@columns(az_{%s}_{%y}_{%i})) last_az_{%s}_{%y}_{%i}
next
next
next
cd "W:\RA\Gestion dynamique des devises\Modèle quantitatif\Backtesting\Backtesting\eviews\scenarios\workfile\a faire"
logmode(autosave=on) p
for %s {signal}
for %y {type}
for %i {certain}
for !i=2 to @rows(az_{%s}_{%y}_{%i})
rowplace(az_{%s}_{%y}_{%i},@rowextract(az_{%s}_{%y}_{%i},!i)+@rowextract(az_{%s}_{%y}_{%i},!i-1),!i)
rowplace(az_{%s}_{%y}_{%i},@emult(@rowextract(az_{%s}_{%y}_{%i},!i),@rowextract(@eneq(az_{%s}_{%y}_{%i},@lag(az_{%s}_{%y}_{%i},1)),!i)),!i)
rowplace(last_az_{%s}_{%y}_{%i},@emult(@rowextract(az_{%s}_{%y}_{%i},!i),@rowextract(@lag(@eeq(az_{%s}_{%y}_{%i},0),-1),!i)),!i)
next
next
next
next