feat: kline data
This commit is contained in:
parent
e2aef3912c
commit
c4b4f86741
@ -96,18 +96,8 @@ export default {
|
||||
favorites: {
|
||||
intervals: ['30', '240', '1D'],
|
||||
},
|
||||
customFormatters: {
|
||||
timeFormatter: {
|
||||
format: date => {
|
||||
const _format_str = '%h:%m'
|
||||
return _format_str.replace('%h', toDouble(date.getUTCHours()), 2).replace('%m', toDouble(date.getUTCMinutes()), 2).replace('%s', date.getUTCSeconds(), 2)
|
||||
},
|
||||
},
|
||||
dateFormatter: {
|
||||
format: date => `${date.getUTCFullYear()}-${toDouble(date.getUTCMonth() + 1)}-${toDouble(date.getUTCDate())}`,
|
||||
},
|
||||
},
|
||||
disabled_features: [ // 禁用功能
|
||||
'volume_force_overlay',
|
||||
'left_toolbar',
|
||||
'timeframes_toolbar',
|
||||
'header_symbol_search',
|
||||
@ -198,5 +188,4 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user