Files
aiomql/docs/core/backtesting/backtest_account.md
T
Ichinga Samuel 2a55f49f78 v4
2024-11-13 04:29:37 +01:00

1.1 KiB

Table of Contents

backtest_account

BackTestAccount Objects

@dataclass
class BackTestAccount()

Account data for backtesting

get_dict

def get_dict(exclude: set = None, include: set = None)

Returns a dictionary of the account data. Using the exclude and include arguments, you can filter the data

Arguments:

  • exclude set - A set of keys to exclude
  • include set - A set of keys to include

asdict

def asdict()

Returns a dictionary of the account data

set_attrs

def set_attrs(**kwargs)

Se the attributes of the account data to the instance