INNER CODE UNIT · Python

msg

jptsantossilva/BEC · bec/main.py:310

        msg = telegram_prefix_sl + msg
        print(msg)
        telegram.send_error_event(
            action="calculate current PnL",
            symbol=symbol,
            timeframe=timeframe,
            reason="Unexpected exception",
            impact="PnL-dependent exit checks may be incomplete for this symbol.",
            next_step="Check position data and logs.",
            exception=e,
            main_token=telegram_token,
            main_prefix=telegram_prefix_sl,
        )


def get_strategy_display_name(strategy_id: str) -> str:
    strategy_name = database.get_strategy_name(strategy_id)
    return strategy_name or strategy_id

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…