style: reorder indicators in dashboard table
This commit is contained in:
@ -150,9 +150,9 @@ class PingPongBot:
|
|||||||
ind_table.add_column("Indicator", style="dim")
|
ind_table.add_column("Indicator", style="dim")
|
||||||
ind_table.add_column("Current Value", justify="right")
|
ind_table.add_column("Current Value", justify="right")
|
||||||
ind_table.add_column("Last Update", justify="center")
|
ind_table.add_column("Last Update", justify="center")
|
||||||
ind_table.add_row("RSI", f"{self.current_indicators['rsi']['value']:.2f}", self.current_indicators['rsi']['timestamp'])
|
|
||||||
ind_table.add_row("Hurst Lower", f"{self.current_indicators['hurst_lower']['value']:.2f}", self.current_indicators['hurst_lower']['timestamp'])
|
|
||||||
ind_table.add_row("Hurst Upper", f"{self.current_indicators['hurst_upper']['value']:.2f}", self.current_indicators['hurst_upper']['timestamp'])
|
ind_table.add_row("Hurst Upper", f"{self.current_indicators['hurst_upper']['value']:.2f}", self.current_indicators['hurst_upper']['timestamp'])
|
||||||
|
ind_table.add_row("Hurst Lower", f"{self.current_indicators['hurst_lower']['value']:.2f}", self.current_indicators['hurst_lower']['timestamp'])
|
||||||
|
ind_table.add_row("RSI", f"{self.current_indicators['rsi']['value']:.2f}", self.current_indicators['rsi']['timestamp'])
|
||||||
|
|
||||||
# 3. Position Table
|
# 3. Position Table
|
||||||
pos_table = Table(title="[bold green]ACTIVE POSITION & ACCOUNT[/]", box=box.ROUNDED, expand=True)
|
pos_table = Table(title="[bold green]ACTIVE POSITION & ACCOUNT[/]", box=box.ROUNDED, expand=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user