Skip to content

OpenStock is an open-source alternative to expensive market platforms. Track real-time prices, set personalized alerts, and explore detailed company insights — built openly, for everyone, forever free.

feat(stocks): show TradingView's drawing tools on the stock chart

ravixalgorithm071b439188e2
diff --git a/lib/constants.ts b/lib/constants.ts
index 3f81315..3bc3797 100644
--- a/lib/constants.ts
+++ b/lib/constants.ts
@@ -135,7 +135,7 @@ export const CANDLE_CHART_WIDGET_CONFIG = (symbol: string) => ({
allow_symbol_change: false,
calendar: false,
details: true,
- hide_side_toolbar: true,
+ hide_side_toolbar: false, // drawing tools (trend lines, Fibonacci, text); drawings last until reload
hide_top_toolbar: false,
hide_legend: false,
hide_volume: false,