| Package | Description |
|---|---|
| org.marketcetera.client |
Provides client API to communicate with the server.
|
| org.marketcetera.client.rpc |
| Modifier and Type | Method and Description |
|---|---|
void |
ClientImpl.addReport(FIXMessageWrapper inReport,
BrokerID inBrokerID,
Hierarchy inHierarchy) |
void |
Client.addReport(FIXMessageWrapper inReport,
BrokerID inBrokerID,
Hierarchy inHierarchy)
Adds the given report to the system data flow.
|
void |
ClientImpl.deleteReport(ExecutionReportImpl inReport) |
void |
Client.deleteReport(ExecutionReportImpl inReport)
Removes the given report from the persistent report store.
|
Map<PositionKey<Currency>,BigDecimal> |
ClientImpl.getAllCurrencyPositionsAsOf(Date inDate) |
Map<PositionKey<Currency>,BigDecimal> |
Client.getAllCurrencyPositionsAsOf(Date inDate)
Returns all open currency positions based on reports,
generated and received on or before the supplied date in UTC.
|
Map<PositionKey<Equity>,BigDecimal> |
ClientImpl.getAllEquityPositionsAsOf(Date inDate) |
Map<PositionKey<Equity>,BigDecimal> |
Client.getAllEquityPositionsAsOf(Date inDate)
Returns all open equity positions based on reports,
generated and received on or before the supplied date in UTC.
|
Map<PositionKey<Future>,BigDecimal> |
ClientImpl.getAllFuturePositionsAsOf(Date inDate) |
Map<PositionKey<Future>,BigDecimal> |
Client.getAllFuturePositionsAsOf(Date inDate)
Returns all open future positions based on reports,
generated and received on or before the supplied date in UTC.
|
Map<PositionKey<Option>,BigDecimal> |
ClientImpl.getAllOptionPositionsAsOf(Date inDate) |
Map<PositionKey<Option>,BigDecimal> |
Client.getAllOptionPositionsAsOf(Date inDate)
Returns the aggregate position of each option (option,account,actor)
tuple based on all reports received for each option instrument on or before
the supplied date in UTC and which are visible to the given user.
|
BrokersStatus |
ClientImpl.getBrokersStatus() |
BrokersStatus |
Client.getBrokersStatus()
Returns the server's broker status.
|
Client |
ClientFactory.getClient(ClientParameters inClientParameters)
Gets a
Client. |
BigDecimal |
ClientImpl.getCurrencyPositionAsOf(Date inDate,
Currency inCurrency) |
BigDecimal |
Client.getCurrencyPositionAsOf(Date inDate,
Currency inCurrency)
Returns the position of the supplied currency based on reports,
generated and received on or before the supplied date in UTC.
|
BigDecimal |
ClientImpl.getEquityPositionAsOf(Date inDate,
Equity inEquity) |
BigDecimal |
Client.getEquityPositionAsOf(Date inDate,
Equity inEquity)
Returns the position of the supplied equity based on reports,
generated and received on or before the supplied date in UTC.
|
BigDecimal |
ClientImpl.getFuturePositionAsOf(Date inDate,
Future inFuture) |
BigDecimal |
Client.getFuturePositionAsOf(Date inDate,
Future inFuture)
Returns the position of the supplied future based on reports,
generated and received on or before the supplied date in UTC.
|
List<ReportBaseImpl> |
ClientImpl.getOpenOrders() |
List<ReportBaseImpl> |
Client.getOpenOrders()
Gets all open orders visible to the current user.
|
BigDecimal |
ClientImpl.getOptionPositionAsOf(Date inDate,
Option inOption) |
BigDecimal |
Client.getOptionPositionAsOf(Date inDate,
Option inOption)
Gets the current aggregate position for the option instrument based on
execution reports received on or before the supplied date in UTC, and which
are visible to the given user.
|
Map<PositionKey<Option>,BigDecimal> |
ClientImpl.getOptionPositionsAsOf(Date inDate,
String... inSymbols) |
Map<PositionKey<Option>,BigDecimal> |
Client.getOptionPositionsAsOf(Date inDate,
String... inRootSymbols)
Returns the aggregate position of each option
(option,account,actor)
tuple based on all reports received for each option instrument on or before
the supplied date in UTC, and which are visible to the given user.
|
Collection<String> |
ClientImpl.getOptionRoots(String inUnderlying) |
Collection<String> |
Client.getOptionRoots(String inUnderlying)
Returns the collection of known option roots for the underlying symbol.
|
ReportBase[] |
ClientImpl.getReportsSince(Date inDate) |
ReportBase[] |
Client.getReportsSince(Date inDate)
Returns all the reports (execution report and order cancel rejects)
generated and received by the server since the supplied date in UTC.
|
String |
ClientImpl.getUnderlying(String inOptionRoot) |
String |
Client.getUnderlying(String inOptionRoot)
Returns the underlying symbol for the supplied option root, if
a mapping is found for it.
|
Properties |
ClientImpl.getUserData() |
Properties |
Client.getUserData()
Gets the user data associated with the current user.
|
UserInfo |
ClientImpl.getUserInfo(UserID id,
boolean useCache) |
UserInfo |
Client.getUserInfo(UserID id,
boolean useCache)
Returns the information of the user with the given ID.
|
static void |
ClientManager.init(ClientParameters inParameter)
Initializes the connection to the server.
|
void |
ClientImpl.reconnect() |
void |
Client.reconnect()
Disconnects the connection to the server and reconnects back
using the same properties as were supplied when creating this
instance.
|
void |
ClientImpl.reconnect(ClientParameters inParameters) |
void |
Client.reconnect(ClientParameters inParameters)
Disconnects the connection to the server and reconnects back
using the properties supplied to this method.
|
Instrument |
ClientImpl.resolveSymbol(String inSymbol) |
Instrument |
Client.resolveSymbol(String inSymbol)
Resolves the given symbol to an
Instrument. |
void |
ClientImpl.sendOrder(OrderCancel inOrderCancel) |
void |
Client.sendOrder(OrderCancel inOrderCancel)
Sends the supplied order to the server.
|
void |
ClientImpl.sendOrder(OrderReplace inOrderReplace) |
void |
Client.sendOrder(OrderReplace inOrderReplace)
Sends the supplied order to the server.
|
void |
ClientImpl.sendOrder(OrderSingle inOrderSingle) |
void |
Client.sendOrder(OrderSingle inOrderSingle)
Sends the supplied order to the server.
|
void |
ClientImpl.sendOrderRaw(FIXOrder inFIXOrder) |
void |
Client.sendOrderRaw(FIXOrder inFIXOrder)
Sends the supplied FIX Message Order to the server.
|
void |
ClientImpl.setUserData(Properties inProperties) |
void |
Client.setUserData(Properties inProperties)
Sets the user data associated with the current user.
|
| Constructor and Description |
|---|
ClientImpl(ClientParameters inParameters)
Creates an instance given the parameters and connects to the server.
|
| Constructor and Description |
|---|
RpcClientImpl(ClientParameters inParameters)
Create a new RpcClientImpl instance.
|
Copyright © 2015. All Rights Reserved.