OEC Application Programming Interface

AllocationBlock Members

AllocationBlock overview

Public Instance Constructors

AllocationBlock Constructor Constructs Allocation Block instance with given name and rule

Public Instance Properties

Balances Balances of accounts
ID (inherited from IDObject<Int32>) Unique key value
Items Items - Account and Account parameters (Lots etc.)
Name (inherited from NamedObject) Name of object
Rule Allocation Block Rule
TotalBalance Account balance and profit/loss data - total for all currencies
TotalLots Total allocated lots
Valid True - if allocation block has at least one account item and all account items have Lots.
Warning Contains additional information in case the allocation block was created with warnings

Public Instance Methods

Add Add account to allocation block
Insert Inserts account at given position
Set Changes name and rule
ToString (inherited from NamedObject) Gets name of object.

See Also

AllocationBlock Class | OEC.API Namespace