Portfolio Class
[DataContract()]
public class Portfolio
This language is not supported or no code example is available.
[DataContract()]
public ref class Portfolio
This language is not supported or no code example is available.
| Name | Description | |
|---|---|---|
|
Portfolio(Framework, string) | Initializes a new instance of the Portfolio class. |
|
Portfolio(string) |
| Name | Description | |
|---|---|---|
|
Account | Gets the account. |
|
AccountValue | Gets the account value. |
|
ActiveOrdersValue | |
|
Children | |
|
Description | |
|
Fills | Gets the fills. |
|
Id | |
|
IsLoaded | |
|
IsOwnerAlgo | |
|
Item(Instrument) | |
|
Name | Gets the name. |
|
Parent | Gets or sets the parent. |
|
ParentId | |
|
Performance | Gets the performance. |
|
PositionValue | Gets the position value. |
|
Positions | Gets the positions. |
|
Pricer | Gets the pricer. |
|
Statistics | Gets the statistics. |
|
Transactions | |
|
UpdateParent | |
|
Value | Gets the value. |
| Name | Description | |
|---|---|---|
|
Add(AccountReport) | |
|
Add(ExecutionReport) | |
|
Add(Fill) | |
|
GetAccountValue(byte) | |
|
GetPosition(Instrument) | Gets the position. |
|
GetPositionValue(byte) | |
|
GetValue(byte) | |
|
HasLongPosition(Instrument) | Determines whether [has long position] [the specified instrument]. |
|
HasLongPosition(Instrument, double) | Determines whether [has long position] [the specified instrument]. |
|
HasPosition(Instrument) | Determines whether the specified instrument has position. |
|
HasPosition(Instrument, PositionSide, double) | Determines whether the specified instrument has position. |
|
HasShortPosition(Instrument) | Determines whether [has short position] [the specified instrument]. |
|
HasShortPosition(Instrument, double) | Determines whether [has short position] [the specified instrument]. |
|
Init(Framework) | |
|
ToString() |
| Name | Description | |
|---|---|---|
|
OnTradeInfo |
| Name | Description | |
|---|---|---|
|
PersistentPortfolioName |
A trading portfolio can be seen as a collection of portfolio positions.