交易系统前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 lines
3.8 KiB

4 years ago
export const lowestTradeType = [
{ title: "投资百分比", value: 0 },
{ title: "策略均分", value: 1 }
4 years ago
];
export const tradeCoinType = [{ title: "USDT", value: 0 }];
export const strategyType = [
{ title: "保守", value: 4, amount: 4 },
{ title: "稳健", value: 8, amount: 8 },
{ title: "激进", value: 16, amount: 16 }
4 years ago
];
export const strategyArray = [
{
title: "倍投",
value: 0,
content: [
1,
2,
4,
8,
16,
32,
64,
128,
256,
512,
1024,
2048,
4096,
8192,
16384,
32768
]
4 years ago
},
{
title: "斐波那契",
value: 1,
content: [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987]
}
4 years ago
];
export const fallTime = [
{ title: "1次", value: 1 },
{ title: "2次", value: 2 },
{ title: "3次", value: 3 },
{ title: "4次", value: 4 },
{ title: "5次", value: 5 },
{ title: "6次", value: 6 },
{ title: "7次", value: 7 },
{ title: "8次", value: 8 },
{ title: "9次", value: 9 },
{ title: "10次", value: 10 }
4 years ago
];
export const periodSignal = [
{ title: "1min", value: 0 },
{ title: "5min", value: 1 },
{ title: "15min", value: 2 },
{ title: "30min", value: 3 },
{ title: "60min", value: 4 },
{ title: "4hour", value: 5 },
{ title: "1day", value: 6 },
{ title: "1week", value: 7 },
{ title: "1mon", value: 8 },
{ title: "1year", value: 9 }
4 years ago
];
export const orderModes = [
{ title: "市价", value: 0 },
{ title: "限价", value: 1 }
4 years ago
];
export const signals = [
{ title: "看多", value: 4 },
{ title: "看空", value: 5 }
4 years ago
];
export const accountTypes = [
{ title: "spot现货账户", value: 0 },
{ title: "margin逐仓杠杆账户", value: 1 },
{ title: "otc账户", value: 2 },
{ title: "point点卡账户", value: 3 },
{ title: "supermargin全仓杠杆账户", value: 4 },
{ title: "investmentC2C杠杆借出账户", value: 5 },
{ title: "borrowC2C杠杆借入账户", value: 6 },
{ title: "minepool矿池账户", value: 7 },
{ title: "etf账户", value: 8 },
{ title: "cryptoloans抵押借贷账户", value: 9 }
4 years ago
];
export const RobotPolicyType = [
{ title: "动量现货", value: 0 },
{ title: "顶底策略", value: 1 },
{ title: "动量趋势", value: 2 }
4 years ago
];
export const ResetMomentumWaveTest = {
Symbol: "",
ProcessType: 0, //币种
IsEnabledBuySignal: true, //是否启用购买信号
IsEnabledSaleSignal: true, //IsEnabledSaleSignal
IsEnabledSaleShortSignal: false, //是否启用做空信号
IsEnabledAutoSale: false, //是否启用自动销售
OrderMode: 0, //下单模式
PositionFund: 100, //仓位资金
MinTradeRatio: 1.0, //最小交易量百分比
NumSeriesMode: 0, //数列模式
MinTradeMode: 0, //最小交易量类型
PolicyMode: 4, //策略模式
PeriodicSignal: 0, //周期指标
BuySignalStartCount: 1, //响应购买信号的起使次数
IntervalFallRatio: 2.0, //间隔跌幅
FirstFallRatio: 2.0, //首单跌幅
SaleSignalProfitRatio: 0, //卖出信号的止盈比
ShortSaleSignalProfitRatio: 0, //做空信号的止盈比
AutoSaleProfitRatio: 0, //自动卖出的止盈比
StopBuyFloatingPLRatio: 15.0, //停止下单的浮动盈亏百分比
StopBuyTotalPurchasePriceRatio: 15.0, //停止下单的持仓占比百分比
IsEnabledTrendProfitSale: false,
TrendProfitRatio: 4
4 years ago
};
export const LogTypes = [
{ title: "买入", value: 0 },
{ title: "卖出", value: 1 },
{ title: "做多", value: 2 },
{ title: "做空", value: 3 },
{ title: "大趋势看多", value: 4 },
{ title: "大趋势看空", value: 5 },
4 years ago
{ title: "中趋势看多", value: 6 },
{ title: "中趋势看空", value: 7 },
{ title: "小趋势看多", value: 8 },
{ title: "小趋势看空", value: 9 },
{ title: "多交叉", value: 10 },
{ title: "空交叉", value: 11 },
{ title: "订单回调", value: 100 }
4 years ago
];