Search found 34 matches

by amrsherif
Mon May 13, 2019 8:47 am
Forum: Programming
Topic: Date axis grid lines
Replies: 2
Views: 92

Re: Date axis grid lines

Thank you
by amrsherif
Mon May 13, 2019 5:29 am
Forum: Programming
Topic: Date axis grid lines
Replies: 2
Views: 92

Date axis grid lines

Hi,

How do i turn off date the date axis grid lines in a program? I'm able to go into the chart options --> axis & scaling --> grid lines --> Obs & Date axis grid lines and i can choose none. This works, but chart_1.axis(b) -grid seems to have no effect

thanks
by amrsherif
Wed May 08, 2019 12:17 pm
Forum: Programming
Topic: color setting Eviews 11
Replies: 2
Views: 99

Re: color setting Eviews 11

That works. Thanks for this (and for spotting the typo)
by amrsherif
Wed May 08, 2019 11:04 am
Forum: Programming
Topic: color setting Eviews 11
Replies: 2
Views: 99

color setting Eviews 11

Hi, I upgraded to EViews 11 today, and am having trouble changing colors in graphs. For example: graph chart1.line series1 series2 chart1.textdefault font("Ariel",8,-b,-i,-u) textcolor(0,0,0) fillcolor(255,255,255) framecolor(255,255,255) existing i get the following error: illegal color s...
by amrsherif
Fri Feb 15, 2019 12:04 pm
Forum: Programming
Topic: Bloomberg API
Replies: 3
Views: 250

Re: Bloomberg API

Thanks for this. I believe that their policy has changed. For example, it was the case that once you exceed the monthly limit, you can fetch series that you have already fetched diring the month. This is no longer the case. Also According to their help desk, downloading a time series with 1000 datap...
by amrsherif
Fri Feb 15, 2019 8:46 am
Forum: Programming
Topic: Bloomberg API
Replies: 3
Views: 250

Bloomberg API

Hi, Quick question. Does the bloomberg API request (within Eviews) change depending on the sample of my workfile? For example if i have a workfile that only has 10 days (versus 1000 days let's say) , does the start date in the request change to 10 days or does it request all the historical data, and...
by amrsherif
Fri Feb 08, 2019 12:36 pm
Forum: Programming
Topic: get program name or path
Replies: 10
Views: 351

Re: get program name or path

Ok so i think i’ve figured it out. The problem was my workaround involved making a subroutine that logged the low level program name and then it executed it. The problem seems to have been the execution inside the sub routine. It’s very strange and i don’t know exactly why this was happening. But ha...
by amrsherif
Fri Feb 08, 2019 11:19 am
Forum: Programming
Topic: get program name or path
Replies: 10
Views: 351

Re: get program name or path

i have logmode(name="logseriessource", ts) logmsg at the top of every program that uses logmsg

I do get the crash every single time though. Even if i stop the program before the logsave, and run that part in the command

Eviews 10, August 22 2018 build.
by amrsherif
Fri Feb 08, 2019 10:26 am
Forum: Programming
Topic: get program name or path
Replies: 10
Views: 351

Re: get program name or path

Ok thanks. I found a way around it (had to write a subroutine tat executes the programs). How about the crashing issue? Have you seen anybody reporting bugs/crashing while using logsave?
by amrsherif
Fri Feb 08, 2019 10:16 am
Forum: Programming
Topic: get program name or path
Replies: 10
Views: 351

Re: get program name or path

The programs specifically crash on the logsave line. I'm generating a string with all the series that i want to log, then log each series individually in the logmsg. generate the location of where the text file will be saved, then saving it. Here is the code: string serieslist=@wlookup("*xr*&qu...
by amrsherif
Thu Feb 07, 2019 2:39 pm
Forum: Programming
Topic: get program name or path
Replies: 10
Views: 351

Re: get program name or path

I would also add that my programs are now very buggy (after using logmsg and logsave).
They seem to freeze in the middle of the logging, and crash (and need to be closed).
If i take out the logging, they run without problems. Not sure why.
by amrsherif
Thu Feb 07, 2019 2:00 pm
Forum: Programming
Topic: get program name or path
Replies: 10
Views: 351

Re: get program name or path

So this works except in one circumstance. If i have a 'master' program that runs several other sub programs, then the @runpath and @runname commands give me the info of the master program instead of the sub programs. In other words, i totally missed the part in the link that mentioned 'high-level' p...
by amrsherif
Thu Feb 07, 2019 11:48 am
Forum: Programming
Topic: get program name or path
Replies: 10
Views: 351

Re: get program name or path

Thank you very much!
by amrsherif
Thu Feb 07, 2019 10:57 am
Forum: Programming
Topic: API via http request
Replies: 0
Views: 136

API via http request

Hi, I'm trying to play around with APIs directly in eviews. This is my first time, but i looked around at other examples, although they seemed to be out of date (perhaps the syntax has changed since). In any case, it's a simple request like so: https://www.quandl.com/api/v3/datasets/bcb/1/data.csv?a...
by amrsherif
Thu Feb 07, 2019 10:03 am
Forum: Programming
Topic: get program name or path
Replies: 10
Views: 351

get program name or path

Hi, I would like to know if there is a command to get the name (or path) of the program currently being run (for logging purposes, i.e. this series was created in this program). I know how to get the workfile name, path, page names and frequency. I'm positive i can work my way around this but it wou...

Go to advanced search