Search found 7 matches

by F_Laroche
Wed Mar 27, 2019 10:50 am
Forum: Data Manipulation
Topic: error when fetching from bloomberg
Replies: 3
Views: 702

error when fetching from bloomberg

Hi, I am currently importing some data from bloomberg, using the fetch command like this : fetch(d=bloom) "bindo index" I am having problem with some of the series. When I try to fetch them, I get this error message: Database Error: Bloomberg library error: 'Argument 'Length' must be great...
by F_Laroche
Thu Jan 24, 2019 2:04 pm
Forum: Programming
Topic: Programming a subroutine with absent parameters
Replies: 1
Views: 362

Programming a subroutine with absent parameters

Hi, I created the following subroutine: subroutine haver(string %ticker, string %BD) Is there a command that allow a parameter to be non-existant? For example, here I want my %BD parameter to have a value if it's not specified in the opening statement: if @isobject(%BD)=0 then %BD = "EMERGE G10...
by F_Laroche
Tue Jan 22, 2019 10:53 am
Forum: Data Manipulation
Topic: inserting text files in string
Replies: 8
Views: 731

Re: inserting text files in string

I used this code: %BD = "EMERGE G10 EMERGECW EMERGELA EMERGEMA EMERGEPR" for %B {%BD} %path = "\\lacaisse.com\gdd\ACD\PR\HAVER\DATA\"+%B+".dat" string list_{%B} = @wquery(%PATH, "name matches *", "name") string list_{%B}_M = @wquery(%path, "freq...
by F_Laroche
Tue Jan 22, 2019 9:31 am
Forum: Data Manipulation
Topic: inserting text files in string
Replies: 8
Views: 731

Re: inserting text files in string

Ok I understand. Since I saved those files from string objects that I created, is there a better way to save them for other use than saving them as text?
by F_Laroche
Tue Jan 22, 2019 9:12 am
Forum: Data Manipulation
Topic: inserting text files in string
Replies: 8
Views: 731

Re: inserting text files in string

It's just a string object. Sorry about that.
by F_Laroche
Tue Jan 22, 2019 8:58 am
Forum: Data Manipulation
Topic: inserting text files in string
Replies: 8
Views: 731

Re: inserting text files in string

This create a new text object, but I need to convert those to string lists. Is it possible?
by F_Laroche
Tue Jan 22, 2019 7:24 am
Forum: Data Manipulation
Topic: inserting text files in string
Replies: 8
Views: 731

inserting text files in string

Hi, I used a code to save some string lists as text files, and now I'm trying to convert those text files as new string lists in another code. The only way I found is to create a blank string list and manually use the option "insert text file" as seen on the capture I also posted. When I c...

Go to advanced search