Quote:
|
Originally Posted by scorpion
No, I want to present this goodie to the public to make the best use of it. 
|
First of all, many thanks for providing the the public with this. I've spent too long trying t ofigure out a way to get the mtapi.dll working in .NET!
I've gone through your example and everything works fine until I try managing orders. Looking at the original API and comparing to the methods in your wrapped dll, I am unsure of certain parameters that are required to send orders. For CloseOrder() I'm sure I'm using the correct price (just grabbing the closeprice from the traderecord) but I'm getting a NotEnoughRightsException, same with ModifyOrder(). Also, for SendOrderInfo, I'm unsure as to what the CRC and Req_Code shoudl be. Lastly, do I have to specify a price (current bid/ask) or can I leave that as 0?
Again, many thanks