public final class FXTradeUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FWD |
static String |
FWDFWD |
static String |
FWDFWDSWAP |
static Pattern |
LEG_FIELD_PATTERN |
static String |
NDF |
static String |
SPOT |
static String |
SPOTFWD |
static String |
SWAP |
static String |
TIME_OPTION |
Constructor and Description |
---|
FXTradeUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
addValuesToString(Collection<String> strategyFields,
Collection<Order> orders,
String initialString,
char delimiter) |
static String |
getLegFieldName(int legId,
String fieldName) |
static String |
getLegFieldName(String legId,
String fieldName) |
static String |
getLeglessFieldName(String legFieldName) |
static String |
getNearFarLegFieldName(String legId,
LegType legType,
String fieldName) |
static FXSwapType |
retrieveSwapType(FXTradingType tradingType,
String swapType,
String nearTenor,
String farTenor) |
static FXTradingType |
retrieveTradingType(String tradeType) |
public static final Pattern LEG_FIELD_PATTERN
public static final String FWDFWDSWAP
public static final String SWAP
public static final String FWD
public static final String NDF
public static final String SPOT
public static final String TIME_OPTION
public static final String SPOTFWD
public static final String FWDFWD
public static String getNearFarLegFieldName(String legId, LegType legType, String fieldName)
public static FXTradingType retrieveTradingType(String tradeType)
public static FXSwapType retrieveSwapType(FXTradingType tradingType, String swapType, String nearTenor, String farTenor)
public static String addValuesToString(Collection<String> strategyFields, Collection<Order> orders, String initialString, char delimiter)
Copyright © 2015 Caplin Systems.