|
|
msfl1_UpdateSecurity
-
03-24-2008, 10:41 |
-
ThrushCreek
-
-

-
Joined on 10-28-2004
-
Boise ID
-
Posts 9
-
-
|
when running the
MSFL_UpdateSecurity function I receive an error:
-100:
MSFL_ERR_INVALID_FUNCTION_CALL
The MSFL DLL is not initialized correctly
to perform the request function call.
Refer to the “Initialization” section (page 86) for details on
initializing the
MSFL DLL.
The
initialization works for reading data. Is there something extra that needs to be
done when modifying a security? I am trying change security names from Quotecenter format to Reuters.
Mike Glenn
|
|
-
03-24-2008, 18:03 |
-
wabbit
-
-

-
Joined on 10-28-2004
-
Perth, Western Australia
-
Posts 1,594
-
-
|
I will take a guess and suggest the invalid function call is because you only have the READ version of the MDK, not the READ/WRITE version which would be required to update securities? Equis were very careful to whom the R/W version was distributed, and unless specifically requested and paid for through their licencing policy, most users will only have the READ version of the MDK. If you have the R/W version, then check the results of the record locking to ensure the required record locking is Full or Write; if PRevent Write then you will not be able to amend the record, but I would think the error message would be different? Hope this helps. wabbit
MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC & MDK For custom MetaStock programming : http://www.wabbit.com.au My SkyPE status :  My SkyPE account : wabbit.com.au
|
|
-
03-25-2008, 7:56 |
-
03-27-2008, 14:39 |
-
ThrushCreek
-
-

-
Joined on 10-28-2004
-
Boise ID
-
Posts 9
-
-
|
Thanks,
That is the problem. I made an attempt to get the write version and was turned down even with agreeing to sign any agreement they wanted that stipulated it was for personal use only.
I don't understand their reluctance to give me write capabilities and it leaves me with a resentment towards Metastock.
Mike Glenn
|
|
-
03-27-2008, 14:54 |
-
03-27-2008, 15:46 |
-
ThrushCreek
-
-

-
Joined on 10-28-2004
-
Boise ID
-
Posts 9
-
-
|
thanks for the explanation.
I will see if I can come up with some other approach short of manually going through folder by folder, but that may be the only way.
Mike Glenn
|
|
-
03-27-2008, 15:54 |
-
03-27-2008, 16:59 |
-
03-28-2008, 7:29 |
-
03-28-2008, 7:30 |
-
03-28-2008, 9:12 |
-
03-28-2008, 9:41 |
-
-
03-28-2008, 15:14 |
-
Branden Russell
-
-

-
Joined on 11-28-2005
-
Salt Lake City, UT
-
Posts 258
-
-
|
stocktrader8:I've been using the following library to read/write Metastock data:link removed It works very well - I use it in Visual Basic (which is impossible in the MDK too)
John.
That is incorrect. The MDK will work just fine with VB. VB is not capable of compiling a Win32 DLL, so it is not able to build an MSX DLL. You can use VB to write an MSFL program though, since it can compile an .exe. You can use many languages with the MDK, they just have to compile a Win32 DLL if you wish to write an MSX DLL with it.
Equis International, Inc. A Reuters Company 90 S. 400 W Suite 620 SLC, UT 84101
|
|
-
03-28-2008, 15:33 |
-
ThrushCreek
-
-

-
Joined on 10-28-2004
-
Boise ID
-
Posts 9
-
-
|
Thanks John,
I was just going to ask about that. I ran across it while searching for alternative approaches. I have downloaded the trial version and it looks pretty straight forward. It costs about what I paid for the mdk and the write functions aren't disabled!!
I was also considering working on the metastock files directly. the master, emaster, and fx.dat.
Mike
Mike Glenn
|
|
-
03-28-2008, 15:54 |
-
03-31-2008, 15:32 |
-
03-31-2008, 15:44 |
-
ThrushCreek
-
-

-
Joined on 10-28-2004
-
Boise ID
-
Posts 9
-
-
|
Thanks Branden but that still looks like too much work.
I was able to update the symbols by working directly on the Master file. It was a bit of a workout but I can now work directly on the emaster, master and data files.
However, after changing the symbols to Reuters compatibility, when I run the downloader to update my security data I get an Invalid date error. Is it possible that Quotecenter downloads a different date structure or some such thing?
I am still curious about why Equis does not release the write functions. Metastock is prirated and they don't stop selling Metastock.
Thanks
Mike Glenn
|
|
-
03-31-2008, 15:57 |
-
Branden Russell
-
-

-
Joined on 11-28-2005
-
Salt Lake City, UT
-
Posts 258
-
-
|
The idea is that you're not supposed to work directly with those files. I think it's in the license agreement that you agreed to that you won't do that. I cannot support you with doing so. Generally, when you're reverse engineering things, you're doing so illegally.
I'll answer the question, since you do have the MDK and the question is a valid MDK question that if you read the manual, you could find out. No, the date structure is identical between vendors.
Again, I'm not sure to the exact reason why we stopped selling the read/write version of the MDK. Pirating was just a guess. Most people, if they use MSFL at all, only use it to read some extra data for their MSX DLL. Not a reason in itself not to sell the read/write version, just a bit of justification.
Equis International, Inc. A Reuters Company 90 S. 400 W Suite 620 SLC, UT 84101
|
|
-
03-31-2008, 23:32 |
-
04-01-2008, 0:03 |
-
ThrushCreek
-
-

-
Joined on 10-28-2004
-
Boise ID
-
Posts 9
-
-
|
I didn't realize that about working with the files. Which licence agreement are you referring to? Is it also illegal to buy third party software that writes directly to those files?
Sorry about the date structure question. I seem to be getting on your nerves. I think I am finished with this issue of changing the symbol names although I hate to think that I did it in an illegal manner.
Mike Glenn
|
|
-
04-01-2008, 8:14 |
-
Branden Russell
-
-

-
Joined on 11-28-2005
-
Salt Lake City, UT
-
Posts 258
-
-
|
ThrushCreek:Sorry, the date problem had to do with the Canadian securities. They are not as straight forward as the us securities which just need the us; removed. The Canadian need a .TO appended and in some cases even the symbol is slightly different. I also notice that Reuters data link is case sensitive for the downloader but not for Metastock. This is just an fyi as it doesn't have much to do with the mdk.
Oh, well, that would make things more difficult than just writing something to change the symbol. I had only ever thought of writing a utility that would work based on a list you give it or for prepending the country code. I knew some symbols may be different, but there isn't too much I can do about that in the program.
Equis International, Inc. A Reuters Company 90 S. 400 W Suite 620 SLC, UT 84101
|
|
-
04-01-2008, 8:26 |
-
Branden Russell
-
-

-
Joined on 11-28-2005
-
Salt Lake City, UT
-
Posts 258
-
-
|
I'd imagine it's in both the MetaStock and MDK license agreements not to reverse engineer or other such things with the files. I haven't actually read them myself, but that's generally in every license agreement.
I'm no expert at law, nor am I familiar with our agreements, so I can't say for sure that it's illegal to use software like what was linked to in this thread. However, I'm pretty sure it is. I reported the company to our legal department and will let them decide. They (that company selling that tool) are not authorized by us, which means they're likely to be selling (illegally) our MDK under their name or they've reverse engineered the files and have written all their own code, which should also be illegal.
You're not getting on my nerves. I've spoken with my managers here, trying to see what I can do to help you with your situation. I only pointed out what you were doing is probably illegal since people didn't seem to realize it. I apologize if I came across as anything but helpful. That's really all I'm trying to be. I sent you a PM yesterday, in hopes of helping you. Please let me know if you didn't get it.
When speaking with my manager, the question came up as to why you're in need of having Reuters Datalink data changed to QuoteCenter. Are you one of those that are doing that because QuoteCenter is slow to get EOD data? If so, could you tell me about how much slower? Is there another reason? Maybe there is something we can do about you needing two services that's better than trying to help you convert the symbols.
Equis International, Inc. A Reuters Company 90 S. 400 W Suite 620 SLC, UT 84101
|
|
-
04-01-2008, 10:25 |
-
ThrushCreek
-
-

-
Joined on 10-28-2004
-
Boise ID
-
Posts 9
-
-
|
I have been using Quote center for several years for real time data but I am backing away from real time trading because the market is too erratic for my nerves right now. I didn't see any reason to pay the QC subscription price just for EOD so I switched to the more economical Reuters Data link since I also have an EOD version of Metastock. During my QC time I have built up a number of folders of securities that I use for creating indices and monitoring market breadth. Hence the unforseen problem of symbol differences between the data feeds. There are a small enough percentage of Canadian stocks that I can manully correct them with the downloader. My main issue was the thousands of us stocks with the 'us;' in front of them spread among many folders and I thought the MDK was the ideal approach, not realizing that the write functions were disabled.
Well the damage is done now and I just hope the 'software police' don't come after me for my workaround to the disabled write functions.
Thanks for your help. I appreciate it.
Mike Glenn
|
|
-
04-01-2008, 10:28 |
Page 1 of 2 (26 items)
1
|
|