Convert exchange-name to new format
This commit is contained in:
parent
40c581e5a8
commit
e3ae1c6c2f
@ -82,7 +82,7 @@ def check_migrate(engine) -> None:
|
|||||||
(id, exchange, pair, is_open, fee_open, fee_close, open_rate,
|
(id, exchange, pair, is_open, fee_open, fee_close, open_rate,
|
||||||
open_rate_requested, close_rate, close_rate_requested, close_profit,
|
open_rate_requested, close_rate, close_rate_requested, close_profit,
|
||||||
stake_amount, amount, open_date, close_date, open_order_id)
|
stake_amount, amount, open_date, close_date, open_order_id)
|
||||||
select id, exchange,
|
select id, lower(exchange),
|
||||||
case
|
case
|
||||||
when instr(pair, '_') != 0 then
|
when instr(pair, '_') != 0 then
|
||||||
substr(pair, instr(pair, '_') + 1) || '/' ||
|
substr(pair, instr(pair, '_') + 1) || '/' ||
|
||||||
|
Loading…
Reference in New Issue
Block a user