public static enum IMessage.Type extends Enum<IMessage.Type>
Enum Constant and Description |
---|
CALENDAR
Market calendar
|
CONNECTION_STATUS
Sent when connection status changes
|
INSTRUMENT_STATUS
Sent if system changes instrument status
|
MAIL
Message sent from broker
|
NEWS
Market news
|
NOTIFICATION
Notifications from server or events in the system like disconnect
|
ORDER_CHANGED_OK
Sent after successful orders change
|
ORDER_CHANGED_REJECTED
Sent if orders change was rejected by the server
|
ORDER_CLOSE_OK
Sent after successful order closing
|
ORDER_CLOSE_REJECTED
Sent if order close request was rejected
|
ORDER_FILL_OK
Sent after successful order filling
|
ORDER_FILL_REJECTED
Sent if server rejected order fill execution.
|
ORDER_SUBMIT_OK
Sent after order submission was accepted by the server
|
ORDER_SUBMIT_REJECTED
Sent when order was rejected
|
ORDERS_MERGE_OK
Sent after successful orders merge
|
ORDERS_MERGE_REJECTED
Sent if orders merge was rejected by the server
|
SENDING_ORDER
Deprecated.
The message type is not to be used in the strategies.
|
STOP_LOSS_LEVEL_CHANGED
Client's stop loss level changed message.
|
STRATEGY_BROADCAST
Sent by strategy
|
WITHDRAWAL
Client's withdrawal message
|
Modifier and Type | Method and Description |
---|---|
static IMessage.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IMessage.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IMessage.Type ORDER_SUBMIT_REJECTED
public static final IMessage.Type ORDER_SUBMIT_OK
public static final IMessage.Type ORDER_FILL_REJECTED
public static final IMessage.Type ORDER_CLOSE_REJECTED
public static final IMessage.Type ORDER_CLOSE_OK
public static final IMessage.Type ORDER_FILL_OK
public static final IMessage.Type ORDERS_MERGE_OK
public static final IMessage.Type ORDERS_MERGE_REJECTED
public static final IMessage.Type ORDER_CHANGED_OK
public static final IMessage.Type ORDER_CHANGED_REJECTED
public static final IMessage.Type MAIL
public static final IMessage.Type NEWS
public static final IMessage.Type CALENDAR
public static final IMessage.Type NOTIFICATION
public static final IMessage.Type INSTRUMENT_STATUS
public static final IMessage.Type CONNECTION_STATUS
public static final IMessage.Type STRATEGY_BROADCAST
@Deprecated public static final IMessage.Type SENDING_ORDER
public static final IMessage.Type STOP_LOSS_LEVEL_CHANGED
public static final IMessage.Type WITHDRAWAL
public static IMessage.Type[] values()
for (IMessage.Type c : IMessage.Type.values()) System.out.println(c);
public static IMessage.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2016. All rights reserved.