Class MetaTrader4TradeWrapperConstants.Position
java.lang.Object
com.bluebell.greenhouse.sol.constants.wrapper.MetaTrader4TradeWrapperConstants.Position
- Enclosing class:
MetaTrader4TradeWrapperConstants
Trade-specific trade constants. *
- Version:
- 2.0.3
- Author:
- Stephen Prizio
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intColumn index of the close price within a trade row.static final intColumn index of the close time within a trade row.static final intColumn index of the open price within a trade row.static final intColumn index of the trade open time within a trade row.static final intColumn index of the realized profit/loss within a trade row.static final intTotal number of columns expected in a detailed MT4 trade row.static final intColumn index of the position size (e.g., lots) within a trade row.static final intColumn index of the stop-loss price within a trade row.static final intColumn index of the instrument/symbol within a trade row.static final intColumn index of the take-profit price within a trade row.static final intColumn index of the MT4 ticket/order number within a trade row.static final intColumn index of the trade type (e.g., BUY/SELL) within a trade row. -
Method Summary
-
Field Details
-
POSITION_DATA_SIZE
public static final int POSITION_DATA_SIZETotal number of columns expected in a detailed MT4 trade row.- See Also:
-
POSITION_DATA_TICKET_NUMBER_INDEX
public static final int POSITION_DATA_TICKET_NUMBER_INDEXColumn index of the MT4 ticket/order number within a trade row.- See Also:
-
POSITION_DATA_OPEN_TIME_INDEX
public static final int POSITION_DATA_OPEN_TIME_INDEXColumn index of the trade open time within a trade row.- See Also:
-
POSITION_DATA_TYPE_INDEX
public static final int POSITION_DATA_TYPE_INDEXColumn index of the trade type (e.g., BUY/SELL) within a trade row.- See Also:
-
POSITION_DATA_SIZE_INDEX
public static final int POSITION_DATA_SIZE_INDEXColumn index of the position size (e.g., lots) within a trade row.- See Also:
-
POSITION_DATA_SYMBOL_INDEX
public static final int POSITION_DATA_SYMBOL_INDEXColumn index of the instrument/symbol within a trade row.- See Also:
-
POSITION_DATA_OPEN_PRICE_INDEX
public static final int POSITION_DATA_OPEN_PRICE_INDEXColumn index of the open price within a trade row.- See Also:
-
POSITION_DATA_STOP_LOSS_INDEX
public static final int POSITION_DATA_STOP_LOSS_INDEXColumn index of the stop-loss price within a trade row.- See Also:
-
POSITION_DATA_TAKE_PROFIT_INDEX
public static final int POSITION_DATA_TAKE_PROFIT_INDEXColumn index of the take-profit price within a trade row.- See Also:
-
POSITION_DATA_CLOSE_TIME_INDEX
public static final int POSITION_DATA_CLOSE_TIME_INDEXColumn index of the close time within a trade row.- See Also:
-
POSITION_DATA_CLOSE_PRICE_INDEX
public static final int POSITION_DATA_CLOSE_PRICE_INDEXColumn index of the close price within a trade row.- See Also:
-
POSITION_DATA_PROFIT_LOSS_INDEX
public static final int POSITION_DATA_PROFIT_LOSS_INDEXColumn index of the realized profit/loss within a trade row.- See Also:
-