easyT.manager.Manager.get_tick

Manager.get_tick(symbol: str)[source]

This function will use the platform attribute to return the correct class between the options in the Class Platforms.

Parameters

symbol – It is the symbol you want information about. You can have information about time, bid, ask, last, volume.

Returns

It returns the class already invoked.

Examples

>>> from easyT.manager import Manager
>>> symbol = 'BTCUSDT'
>>> manager = Manager()
>>> manager.set_platform('binance-spot')
'binance-spot'
>>> manager.get_initialize()
<binanceSpotEasyT.initialization.Initialize object>
>>> manager.get_tick(symbol=symbol)
<binanceSpotEasyT.tick.Tick object>