mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 02:11:57 +00:00
parent
769bb47a0f
commit
c45dab5a9a
|
@ -17,14 +17,21 @@ const exchangeList = computed(() => {
|
||||||
.sort((a, b) => a.name.localeCompare(b.name));
|
.sort((a, b) => a.name.localeCompare(b.name));
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{ label: 'Supported', options: supported.map((e) => e.name) },
|
{
|
||||||
{ label: 'Unsupported', options: unsupported.map((e) => e.name) },
|
label: 'Supported',
|
||||||
|
options: supported.map((e) => ({ value: e.classname ?? e.name, text: e.name })),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Unsupported',
|
||||||
|
options: unsupported.map((e) => ({ value: e.classname ?? e.name, text: e.name })),
|
||||||
|
},
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
const tradeModesTyped = computed(() => {
|
const tradeModesTyped = computed(() => {
|
||||||
const val = botStore.activeBot.exchangeList.find(
|
const val = botStore.activeBot.exchangeList.find(
|
||||||
(ex) => ex.name === exchangeModel.value.exchange,
|
(ex) =>
|
||||||
|
ex.name === exchangeModel.value.exchange || ex.classname === exchangeModel.value.exchange,
|
||||||
)?.trade_modes;
|
)?.trade_modes;
|
||||||
return val ?? [];
|
return val ?? [];
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user