GetHistoricalRates
|
|||
|
Hi,
I just ran across this thread yesterday, and am very impressed and thankful for your contributions. I was able to get your sample up and running, and start to play with some of the other methods. I did run into one problem that I was hoping you could shed some light on. When I call GetHistoricalRates and loop through the results, I am able to pull out all the Fields from RateInfo except CTMDateTime. It gives me some strange error saying that the source code cannot be found. My .Net experience is very limited compared to others here, so it may be obvious to you. I think its something to do with the # symbols at both ends of the datetime value. The watch window shows this: CTMDateTime #10/20/2005 5:44:00 AM# Date. Thanks for any suggestions you might have for me. -Tom |
![]() |
|
|||
|
Thanks for the response on the VS bug.
Today I had some time to spend working on some ideas, and must have done too much work, because I started getting this error when connecting: "An unhandled exception of type 'TooFrequentException' occurred in mt3apidotnet.dll" I was hopeing in a few hours I could get back to work, but no such luck. I even created a new account, and that didn't work either. Any ideas? |
|
|||
|
scorpion,
It would have been very useful to have had the source code to your wrapper when I was working on my own. If you're thinking about releasing it, I'm sure others will find it helpful. |
|
|||
|
It would be nice to have the source to the API. I'm sure it would be helpful as a learning tool.
btw...has anyone implemented the wrapper using visual c#? I'm trying to do so now, but have run into a few problems. At run time I get an error saying it can't find the dll: 'System.DllNotFoundException' occurred in mt3apidotnet.dll. Please note that while I do this, I am also learning c#, so chances are it's a simple mistake. Just wanted to see if anyone had a c# example I can learn from. Thanks! |
|
|||
|
A full example would be especially useful and very much appreciated. Is this what you were referring to in and earlier comment you made:
"Anyone longing for full example demonstrating connect & login, execute orders, and get open & closed orders"? I would love to see what you could demonstrate. Thanks. |
|
||||
|
Thanks to Charlie's sponsor, you can now fetch it from http://www.fxfisherman.com/site/inde...13_fileid =21
Enjoys! |
|
|||
|
This is great, and much appreciated!
I'm running into a problem with this project that I was hoping you had seen before... Sending orders works well for a while, but if I send an order or two, then wait several minutes, I sometimes get this error: An unhandled exception of type 'SomeErrorException' occurred in mt3apidotnet.dll Additional information: some error The thread '<No Name>' (0x950) has exited with code 0 (0x0). An unhandled exception of type 'SomeErrorException' occurred in mt3apidotnet.dll Additional information: some error The thread '<No Name>' (0xc44) has exited with code 0 (0x0). The thread '<No Name>' (0xc10) has exited with code 0 (0x0). The thread '<No Name>' (0x101c) has exited with code 0 (0x0). An unhandled exception of type 'SomeErrorException' occurred in mt3apidotnet.dll Additional information: some error The thread '<No Name>' (0x1310) has exited with code 0 (0x0). The thread 'MT3 Pumping Message Loop' (0x15e0) has exited with code 0 (0x0). The program '[1588] APIDemo.exe' has exited with code 0 (0x0). I'm not sure how to get more information on this other than "some error". The error happens in Sub SendOrder, at: ' Send order _API1.SendOrder(Order) Thanks for any help you gan give. -Tom |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Socket problems with MT3 API | fxtrader625 | MetaTrader and ZeroCode | 2 | 12-29-2005 12:26 PM |
All times are GMT. The time now is 07:26 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now










Linear Mode

