mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
Merge pull request #245 from mads03dk/master
Close reason, new layout, and exclusion of package-lock.json
This commit is contained in:
commit
4017b24ad5
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
package-lock.json
|
||||
/dist
|
||||
|
||||
# local env files
|
||||
|
|
|
@ -114,7 +114,7 @@ export default class TradeList extends Vue {
|
|||
openFields: Record<string, string | Function>[] = [{ key: 'actions' }];
|
||||
|
||||
// Added to table-fields for historic trades
|
||||
closedFields: Record<string, string | Function>[] = [{ key: 'close_date', label: 'Close date' }];
|
||||
closedFields: Record<string, string | Function>[] = [{ key: 'close_date', label: 'Close date' },{key: 'sell_reason', label: 'Close Reason'}];
|
||||
|
||||
tableFields: Record<string, string | Function>[] = [
|
||||
{ key: 'trade_id', label: 'ID' },
|
||||
|
|
|
@ -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[] = [
|
||||
|
|
Loading…
Reference in New Issue
Block a user