Replaced the term margin with leverage when it should say leverage

This commit is contained in:
Sam Germain
2021-08-08 16:47:19 -06:00
parent ecdecb02fa
commit 0545a0ed3c
4 changed files with 23 additions and 18 deletions

View File

@@ -66,7 +66,7 @@ def migrate_trades_table(decl_base, inspector, engine, table_back_name: str, col
close_profit_abs = get_column_def(
cols, 'close_profit_abs',
f"(amount * close_rate * (1 - {fee_close})) - {open_trade_value}")
# TODO-mg: update to exit order status
# TODO-lev: update to exit order status
sell_order_status = get_column_def(cols, 'sell_order_status', 'null')
amount_requested = get_column_def(cols, 'amount_requested', 'amount')