| Package | Description |
|---|---|
| org.marketcetera.client |
Provides client API to communicate with the server.
|
| org.marketcetera.client.rpc |
| Modifier and Type | Method and Description |
|---|---|
void |
Client.addReport(FIXMessageWrapper inReport,
BrokerID inBrokerID,
Hierarchy inHierarchy)
Adds the given report to the system data flow.
|
void |
ClientImpl.addReport(FIXMessageWrapper inReport,
BrokerID inBrokerID,
Hierarchy inHierarchy) |
void |
Client.deleteReport(ExecutionReportImpl inReport)
Removes the given report from the persistent report store.
|
void |
ClientImpl.deleteReport(ExecutionReportImpl inReport) |
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<Currency>,BigDecimal> |
ClientImpl.getAllCurrencyPositionsAsOf(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<Equity>,BigDecimal> |
ClientImpl.getAllEquityPositionsAsOf(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<Future>,BigDecimal> |
ClientImpl.getAllFuturePositionsAsOf(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.
|
Map<PositionKey<Option>,BigDecimal> |
ClientImpl.getAllOptionPositionsAsOf(Date inDate) |
BrokersStatus |
Client.getBrokersStatus()
Returns the server's broker status.
|
BrokersStatus |
ClientImpl.getBrokersStatus() |
Client |
ClientFactory.getClient(ClientParameters inClientParameters)
Gets a
Client. |
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.getCurrencyPositionAsOf(Date inDate,
Currency inCurrency) |
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.getEquityPositionAsOf(Date inDate,
Equity inEquity) |
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.
|
BigDecimal |
ClientImpl.getFuturePositionAsOf(Date inDate,
Future inFuture) |
List<ReportBaseImpl> |
Client.getOpenOrders()
Gets all open orders visible to the current user.
|
List<ReportBaseImpl> |
ClientImpl.getOpenOrders() |
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.
|
BigDecimal |
ClientImpl.getOptionPositionAsOf(Date inDate,
Option inOption) |
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.
|
Map<PositionKey<Option>,BigDecimal> |
ClientImpl.getOptionPositionsAsOf(Date inDate,
String... inSymbols) |
Collection<String> |
Client.getOptionRoots(String inUnderlying)
Returns the collection of known option roots for the underlying symbol.
|
Collection<String> |
ClientImpl.getOptionRoots(String inUnderlying) |
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.
|
ReportBase[] |
ClientImpl.getReportsSince(Date inDate) |
String |
Client.getUnderlying(String inOptionRoot)
Returns the underlying symbol for the supplied option root, if
a mapping is found for it.
|
String |
ClientImpl.getUnderlying(String inOptionRoot) |
Properties |
Client.getUserData()
Gets the user data associated with the current user.
|
Properties |
ClientImpl.getUserData() |
UserInfo |
Client.getUserInfo(UserID id,
boolean useCache)
Returns the information of the user with the given ID.
|
UserInfo |
ClientImpl.getUserInfo(UserID id,
boolean useCache) |
static void |
ClientManager.init(ClientParameters inParameter)
Initializes the connection to the server.
|
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() |
void |
Client.reconnect(ClientParameters inParameters)
Disconnects the connection to the server and reconnects back
using the properties supplied to this method.
|
void |
ClientImpl.reconnect(ClientParameters inParameters) |
Instrument |
Client.resolveSymbol(String inSymbol)
Resolves the given symbol to an
Instrument. |
Instrument |
ClientImpl.resolveSymbol(String inSymbol) |
void |
Client.sendOrder(OrderCancel inOrderCancel)
Sends the supplied order to the server.
|
void |
ClientImpl.sendOrder(OrderCancel inOrderCancel) |
void |
Client.sendOrder(OrderReplace inOrderReplace)
Sends the supplied order to the server.
|
void |
ClientImpl.sendOrder(OrderReplace inOrderReplace) |
void |
Client.sendOrder(OrderSingle inOrderSingle)
Sends the supplied order to the server.
|
void |
ClientImpl.sendOrder(OrderSingle inOrderSingle) |
void |
Client.sendOrderRaw(FIXOrder inFIXOrder)
Sends the supplied FIX Message Order to the server.
|
void |
ClientImpl.sendOrderRaw(FIXOrder inFIXOrder) |
void |
Client.setUserData(Properties inProperties)
Sets the user data associated with the current user.
|
void |
ClientImpl.setUserData(Properties inProperties) |
| 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 © 2014. All Rights Reserved.