self.get_quote#

lumibot.strategies.strategy.Strategy.get_quote(self, asset)#

Get a quote for the asset.

NOTE: This currently only works with Tradier. It does not work with backtetsing or other brokers.

Parameters:

asset (Asset object) – The asset for which the quote is needed.

Returns:

A dictionary with the quote information, eg. bid, ask, etc.

Return type:

dict