is there a possiblity to get the current Ask price of an Instrument from with the Initialize() function?
I am interest in this because I want to set proposed Properties for the strategy based on the current ask price.
I know I can get all this once the strategy is started and calls to OnBarUpdate() and OnMarketData() are processed.
But I would like to have this information at an earlier stage, already in Initialize().
Technically I would assume this is possible. Because I need just the current value of the Ask price and I do not need bar Series etc.
And since a strategy can only be added when a MarketData connection is on the information must be available.
Any hints there, maybe somewhere hidden in the Connection?
Best regards
Andreas

Comment