33 lines
1.2 KiB
Python
33 lines
1.2 KiB
Python
|
|
# Plotly Chart Colors
|
||
|
|
CHART_COLORS = {
|
||
|
|
"primary_line": "#2196f3", # Blue
|
||
|
|
"secondary_line": "#ff9800", # Orange
|
||
|
|
"increasing_candle": "#26a69a", # Green
|
||
|
|
"decreasing_candle": "#ef5350", # Red
|
||
|
|
"neutral_line": "gray"
|
||
|
|
}
|
||
|
|
|
||
|
|
# UI Text Constants
|
||
|
|
UI_TEXT = {
|
||
|
|
"no_data_available": "No data available",
|
||
|
|
"error_prefix": "Error: ",
|
||
|
|
"volume_analysis_title": "{symbol} Volume Analysis ({timeframe})",
|
||
|
|
"price_movement_title": "{symbol} Price Movement Analysis ({timeframe})",
|
||
|
|
"price_action_subplot": "Price Action",
|
||
|
|
"volume_analysis_subplot": "Volume Analysis",
|
||
|
|
"volume_ma_subplot": "Volume vs Moving Average",
|
||
|
|
"cumulative_returns_subplot": "Cumulative Returns",
|
||
|
|
"period_returns_subplot": "Period Returns (%)",
|
||
|
|
"price_range_subplot": "Price Range (%)",
|
||
|
|
"price_yaxis": "Price",
|
||
|
|
"volume_yaxis": "Volume",
|
||
|
|
"cumulative_return_yaxis": "Cumulative Return",
|
||
|
|
"returns_yaxis": "Returns (%)",
|
||
|
|
"range_yaxis": "Range (%)",
|
||
|
|
"price_trace_name": "Price",
|
||
|
|
"volume_trace_name": "Volume",
|
||
|
|
"volume_ma_trace_name": "Volume MA(20)",
|
||
|
|
"cumulative_return_trace_name": "Cumulative Return",
|
||
|
|
"returns_trace_name": "Returns (%)",
|
||
|
|
"range_trace_name": "Range %"
|
||
|
|
}
|