PLEASE BE VERY SPECIFIC.
I know there is a method called OnMarketData() available for a strategy.
Then I am developing an API application, that should get each price change.
So far I did not manage to see the above method is triggering.
Data Feed:
I did not find a way to debug the strategy code.
I saw somewhere that I need to attach to process from my VS app, then I had to open the strategy.cs file, and put my Breakpoint on VS, then the code was suppose to stop there.
I did not manage to do it.
If you have a very Detailed instruction on how to do it, it will help to pass one barrier.
Price Change:
Then after I pass the feed issue, then I need to get into my VS code, to a handler, the price change.
So, I could never check and see how to even subscribe to the OnMarketData() method...
So, please help with that as well.
My plan is to get the change of price to this method, then from it to open a socket and send the information back, from my C# Strategy code to my VS C# code.
Or(another idea), when I add the custom.dll as a reference, and when I compile with NT, the dll is getting updated, and the name of the strategy become a class inside this dll.
Then I can add a hendler in this dll, and delegate this handler in my VS code, then only from the strategy, to send the object MarketDataEventArgs on to the handler, that will be passed on to my VS C# code, and from there to make decisions for the strategy.
Please be specific in your responses. Usually responses are short and laconic (sorry).
Thank you in advance,
Isaac (is the name)
Comment