finam.ITimeDelayAdapter#

class finam.ITimeDelayAdapter[source]#

Bases: ABC

Interface for adapters that manipulate the request time.

Methods

with_delay(time)

Get the manipulated time for a given request time.

abstract with_delay(time)[source]#

Get the manipulated time for a given request time.

Parameters:

time (datetime) – The original request time.

Returns:

The time as manipulated by the adapter

Return type:

datetime