diff --git a/.gitignore b/.gitignore index a0dddc6f..824255d1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .DS_Store node_modules +package-lock.json /dist # local env files diff --git a/src/components/ftbot/TradeList.vue b/src/components/ftbot/TradeList.vue index ff654da0..b4bff7db 100644 --- a/src/components/ftbot/TradeList.vue +++ b/src/components/ftbot/TradeList.vue @@ -114,7 +114,7 @@ export default class TradeList extends Vue { openFields: Record[] = [{ key: 'actions' }]; // Added to table-fields for historic trades - closedFields: Record[] = [{ key: 'close_date', label: 'Close date' }]; + closedFields: Record[] = [{ key: 'close_date', label: 'Close date' },{key: 'sell_reason', label: 'Close Reason'}]; tableFields: Record[] = [ { key: 'trade_id', label: 'ID' }, diff --git a/src/store/modules/layout.ts b/src/store/modules/layout.ts index 4cac1796..72e3f659 100644 --- a/src/store/modules/layout.ts +++ b/src/store/modules/layout.ts @@ -34,16 +34,15 @@ export enum LayoutMutations { setDashboardLayout = 'setDashboardLayout', setTradingLayout = 'setTradingLayout', } - // Define default layouts const DEFAULT_TRADING_LAYOUT: GridItemData[] = [ { i: TradeLayout.botControls, x: 0, y: 0, w: 3, h: 3 }, - { i: TradeLayout.multiPane, x: 0, y: 3, w: 3, h: 7 }, - { i: TradeLayout.chartView, x: 3, y: 0, w: 9, h: 11 }, - { i: TradeLayout.tradeDetail, x: 0, y: 11, w: 5, h: 6 }, - { i: TradeLayout.openTrades, x: 5, y: 11, w: 7, h: 5 }, - { i: TradeLayout.tradeHistory, x: 5, y: 12, w: 7, h: 6 }, - { i: TradeLayout.logView, x: 0, y: 16, w: 12, h: 3 }, + { i: TradeLayout.multiPane, x: 0, y: 3, w: 3, h: 32 }, + { i: TradeLayout.chartView, x: 3, y: 0, w: 9, h: 14 }, + { i: TradeLayout.tradeDetail, x: 3, y: 19, w: 9, h: 6 }, + { i: TradeLayout.openTrades, x: 3, y: 14, w: 9, h: 5 }, + { i: TradeLayout.tradeHistory, x: 3, y: 25, w: 9, h: 10 }, + { i: TradeLayout.logView, x: 0, y: 35, w: 12, h: 13 }, ]; const DEFAULT_DASHBOARD_LAYOUT: GridItemData[] = [