"""
dexorder.nautilus — Nautilus Trader integration for strategy backtesting.

Quants import PandasStrategy to write strategies:

    from dexorder.nautilus import PandasStrategy
    import pandas as pd
    import pandas_ta as ta

    class MyStrategy(PandasStrategy):
        def evaluate(self, dfs):
            df = dfs.get("BTC/USDT.BINANCE:3600")
            if df is None or len(df) < 14:
                return
            rsi = ta.rsi(df["close"], length=14)
            if rsi.iloc[-1] < 30:
                self.buy(0.01)
            elif rsi.iloc[-1] > 70:
                self.sell(0.01)

SecretsVault provides the interface for user-owned exchange API keys
(stub until the user-local vault is implemented):

    from dexorder.nautilus import SecretsVault
"""

from dexorder.nautilus.pandas_strategy import PandasStrategy, PandasStrategyConfig
from dexorder.secrets_vault import SecretsVault

__all__ = [
    "PandasStrategy",
    "PandasStrategyConfig",
    "SecretsVault",
]
