I am trying to output code information to the console using log() and Console.Write() every time a bar is called and while they do work the first time, I only get the message the first time it is triggered. I know the event fires multiple times because I generate the trades. Code looks as follows:

public void OnData(TradeBars data)


Order(symbol, qty);



Thank you for the help :)