fix: Add missing logger import and configuration
This commit is contained in:
parent
322491bc83
commit
62346dcd04
@ -1,3 +1,4 @@
|
|||||||
|
import logging
|
||||||
import streamlit as st
|
import streamlit as st
|
||||||
from trading.journal import get_latest_portfolio_value, get_open_trades_summary
|
from trading.journal import get_latest_portfolio_value, get_open_trades_summary
|
||||||
from trading.position_calculator import PositionCalculator
|
from trading.position_calculator import PositionCalculator
|
||||||
@ -11,6 +12,9 @@ from trading.watchlist import (
|
|||||||
remove_from_watchlist, get_watchlist_items, WatchlistItem
|
remove_from_watchlist, get_watchlist_items, WatchlistItem
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Configure logging
|
||||||
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
def trading_system_page():
|
def trading_system_page():
|
||||||
st.header("Trading System")
|
st.header("Trading System")
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user