Syntax
Public Function DetailedOpenPositionsReport(ClientID As Long, AccountType As Integer, SymbolID As Integer, PositionType As Integer, Optional ByVal isPaging As Boolean = False) As String
Description
The DetailedOpenPositionsReport operation is used to get a detailed open position to report that shows the open position details for all accounts
under the given client number.
Request Parameters
Name |
Description |
Required |
ClientID |
- Client identifier to get detailed open positions report for
- Type: Long
- Default: None
- Constraints: Must be valid client Id and accessible by logged in dealer
|
Yes |
AccountType |
- Type of account that wants to get account status report for
- Type: Integer
- Default: none
- Can be one of the following :
1: Normal Account
2: Coverage Account
|
Yes |
SymbolID |
- The report will show the open position detailed for this symbol ID
- Type: Integer
- Default: None
- 0: means for all Symbol
|
Yes |
PositionType |
- The report will show the net open position details for this type
- Type: Integer
- Default: None
- Can be one of the following
0: all
1: Buy type
-1: sell type
|
Yes |
|
|
|
Response Elements
Name |
Description |
Result |
The operation returns a list of type DetailedPositionReport, otherwise, an explicit error code is returned if ClientID is less than 0 .
The Following are the DetailedPositionReportdata member
- ClientID :Client Identifier
- AccountID :Account Identifier
- TicketID:Ticket Number
- Time :open Time
- BuySell:1 : means buy type
-1: means Sell Type
- Amount: open position Amount
- SymbolID: open position Symbol Id
- Price: position price
- Commission :commission value
- SymbolName :open position symbol name
- Interest: Value of the Interest
|
See Also
VertexFX BackOffice WCF Service Index
BuySell