SaveHook#

API documentation for tradingstrategy.direct_feed.trade_feed.SaveHook Python class in Trading Strategy framework.

class SaveHook[source]#

Bases: Protocol

Save hook called by trade feed when downloading data.

Called every N seconds.

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

__call__(feed)[source]#

Call self as a function.

Parameters:

feed (TradeFeed) –

__init__(*args, **kwargs)#