models_vam
mainsequence.client.models_vam
AssetCategory
Bases: BaseObjectOrm
, BasePydanticModel
append_assets(asset_ids)
Append the given asset IDs to this category.
Expects a payload: {"assets": [
remove_assets(asset_ids)
Remove the given asset IDs from this category.
Expects a payload: {"assets": [
AssetMixin
Bases: BaseObjectOrm
, BasePydanticModel
filter_with_asset_class(timeout=None, *args, **kwargs)
classmethod
Filters assets and returns instances with their correct asset class, looping through all DRF-paginated pages.
get_ccxt_symbol(settlement_symbol=None)
Gets the right symbol for ccxt
HistoricalWeights
Bases: BaseObjectOrm
, BasePydanticModel
add_from_time_serie(local_time_serie_id, positions_list, weights_date, comments=None, timeout=None)
classmethod
:param session: :return: