package com.gear.common.constant; public class SwxConstons { /** * 产品类型-外汇 */ public static final Integer MARKET_TYPE_FOREX = 1; /** * 产品类型-数字货币 */ public static final Integer MARKET_TYPE_CRYPTO = 2; /** * 产品类型-股票 */ public static final Integer MARKET_TYPE_STOCKS = 3; /** * 产品类型-期货 */ public static final Integer MARKET_TYPE_FUTURES = 4; /** * 产品类型-贵金属 */ public static final Integer MARKET_TYPE_METAL = 5; /** * redis缓存产品集合-外汇 */ public static final String REDIS_CACHE_MARKET_TYPE_FOREX = "forexList"; /** * redis缓存产品集合-数字货币 */ public static final String REDIS_CACHE_MARKET_TYPE_CRYPTO = "cryptoList"; /** *redis缓存产品集合-股票 */ public static final String REDIS_CACHE_MARKET_TYPE_STOCKS = "stocksList"; /** * redis缓存产品集合-ETF */ public static final String REDIS_CACHE_MARKET_TYPE_FUTURES = "futuresList"; /** * redis缓存产品集合-期货 */ public static final String REDIS_CACHE_MARKET_TYPE_METAL= "metalList"; /** * redis缓存同步产品-外汇 */ public static final String REDIS_CACHE_SYNC_TYPE_FOREX = "syncForex"; /** * redis缓存同步产品-数字货币 */ public static final String REDIS_CACHE_SYNC_TYPE_CRYPTO = "syncCrypto"; /** *redis缓存同步产品-股票 */ public static final String REDIS_CACHE_SYNC_TYPE_STOCKS = "syncStocks"; /** * redis缓存同步产品-期货 */ public static final String REDIS_CACHE_SYNC_TYPE_FUTURES = "syncFutures"; /** * redis缓存同步产品-贵金属 */ public static final String REDIS_CACHE_SYNC_TYPE_METAL = "syncMetal"; public static final String REDIS_CACHE_CURRENT_MARKET_PRICE = "currentPrice"; /** * 产品状态-启用 */ public static final Integer MARKET_STATUS_ENABLE = 1; /** * 产品状态-停用 */ public static final Integer MARKET_STATUS_DISABLE = 2; /** * 通用状态-是 */ public static final Integer NOMARL_STATUS_YES = 1; /** * 通用状态-否 */ public static final Integer NOMARL_STATUS_NO = 2; /*** * 系统参数--市场相关 */ public static final Integer SETTINGS_MARKET = 1; /*** * 系统参数--账户相关 */ public static final Integer SETTINGS_USER = 2; /*** * 系统参数--资金相关 */ public static final Integer SETTINS_MONEY = 3; /*** * 系统参数--内容相关 */ public static final Integer SETTINGS_CONTONS = 4; /** * 注册检查类型--手机 */ public static final Integer CUSTOMER_REGISTER_CHECK_TYPE_PHONE = 1; /** * 注册检查类型--用户名 */ public static final Integer CUSTOMER_REGISTER_CHECK_TYPE_USERNAME = 2; /** * 审核状态--审核中 */ public static final Integer SWX_EXAMINE_STATUS_REVIEW = 0; /** * 审核状态--审核通过 */ public static final Integer SWX_EXAMINE_STATUS_YES = 1; /** * 审核状态--审核不通过 */ public static final Integer SWX_EXAMINE_STATUS_NO = 2; /** * 资金类型-- 收入 */ public static final Integer SWX_MONEY_TYPE_INCOME = 1; /** * 资金类型-- 支出 */ public static final Integer SWX_MONEY_TYPE_PAY = 2; /** * 资金日志类型--充值 */ public static final Integer SWX_MONEY_LOG_TYPE_RECHARGE = 1; /** * 资金日志类型--提现 */ public static final Integer SWX_MONEY_LOG_TYPE_WITHDRAWAL = 2; /** * 资金日志类型--贷款 */ public static final Integer SWX_MONEY_LOG_TYPE_LOAN = 3; /** * 资金日志类型--购买nft */ public static final Integer SWX_MONEY_LOG_TYPE_BUYNFT = 4; /** * 资金日志类型--贷款还款 */ public static final Integer SWX_MONEY_LOG_TYPE_LOAN_REPAY = 5; /** * 资金日志类型--购买智能交易 */ public static final Integer SWX_MONEY_LOG_TYPE_BUY_SMART = 6; /** * 资金日志类型--智能交易完成收益 */ public static final Integer SWX_MONEY_LOG_TYPE_SMART_PROFIT = 7; /** * 资金日志类型--智能交易每日收益 */ public static final Integer SWX_MONEY_LOG_TYPE_SMART_DAY_PROFIT = 8; /** * 用户下单状态--真实购买 */ public static final String SWX_CUSTOMER_USER_ORDER_TYPE_TRUE = "NO"; /** * 用户下单状态--虚拟账户 */ public static final String SWX_CUSTOMER_USER_ORDER_TYPE_VIRTRUAL = "YES"; /** * 订单类型--智能交易 */ public static final Integer SWX_ORDER_TYPE_SMART = 3 ; /** * 订单类型--合约 */ public static final Integer SWX_ORDER_TYPE_CONSTRACTS= 1 ; /** * 订单类型--期权 */ public static final Integer SWX_ORDER_TYPE_OPTIONS = 2 ; /** * 订单状态--合约待购入 */ public static final Integer SWX_ORDER_STATUS_WAIT_BUY =-1 ; /** * 订单状态--期权待平仓 */ public static final Integer SWX_ORDER_STATUS_OPTIONS_WAIT =1 ; /** * 订单状态--合约待平仓 */ public static final Integer SWX_ORDER_STATUS_CONTRACTS_WAIT =2 ; /** * 订单状态--已平仓 */ public static final Integer SWX_ORDER_STATUS_FINISH = 3 ; /** * 订单状态--智能交易结算中 */ public static final Integer SWX_ORDER_STATUS_SMART_WAIT = 4; /** * 订单状态--智能交易已完成 */ public static final Integer SWX_ORDER_STATUS_SMART_FINISH = 5 ; /** * 买入符号--买多 */ public static final Integer SWX_ORDER_BUY_TYPE_MDU = 1 ; /** * 买入符号--买多 */ public static final Integer SWX_ORDER_BUY_TYPE_MK = 2 ; /** * 买入符号--买多 */ public static final Integer SWX_ORDER_BUY_TYPE_MZ = 3 ; /** * 买入符号--买多 */ public static final Integer SWX_ORDER_BUY_TYPE_MDI = 4; public static final Integer SWX_ORDER_BUY_TYPE_HY = 5 ; }