Martingale42/nautilus-dev / skills/nt-signals
nt-signals
UnverifiedUse when working with indicators, signal generation, bar aggregation, custom data types, analysis statistics, or tearsheets in NautilusTrader.
references/python/analysis/__init__.py
View on GitHub# -------------------------------------------------------------------------------------------------
# Copyright (C) 2015-2026 Nautech Systems Pty Ltd. All rights reserved.
# https://nautechsystems.io
#
# Licensed under the GNU Lesser General Public License Version 3.0 (the "License");
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at https://www.gnu.org/licenses/lgpl-3.0.en.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# -------------------------------------------------------------------------------------------------
"""
The `analysis` subpackage groups components relating to trading performance statistics
and analysis.
"""
from nautilus_trader.analysis.analyzer import PortfolioAnalyzer
from nautilus_trader.analysis.config import GridLayout
from nautilus_trader.analysis.config import TearsheetBarsWithFillsChart
from nautilus_trader.analysis.config import TearsheetChart
from nautilus_trader.analysis.config import TearsheetConfig
from nautilus_trader.analysis.config import TearsheetCustomChart
from nautilus_trader.analysis.config import TearsheetDistributionChart
from nautilus_trader.analysis.config import TearsheetDrawdownChart
from nautilus_trader.analysis.config import TearsheetEquityChart
from nautilus_trader.analysis.config import TearsheetMonthlyReturnsChart
from nautilus_trader.analysis.config import TearsheetRollingSharpeChart
from nautilus_trader.analysis.config import TearsheetRunInfoChart
from nautilus_trader.analysis.config import TearsheetStatsTableChart
from nautilus_trader.analysis.config import TearsheetYearlyReturnsChart
from nautilus_trader.analysis.reporter import ReportProvider
from nautilus_trader.analysis.statistic import PortfolioStatistic
from nautilus_trader.analysis.tearsheet import create_drawdown_chart
from nautilus_trader.analysis.tearsheet import create_equity_curve
from nautilus_trader.analysis.tearsheet import create_monthly_returns_heatmap
from nautilus_trader.analysis.tearsheet import create_returns_distribution
from nautilus_trader.analysis.tearsheet import create_rolling_sharpe
from nautilus_trader.analysis.tearsheet import create_tearsheet
from nautilus_trader.analysis.tearsheet import create_tearsheet_from_stats
from nautilus_trader.analysis.tearsheet import create_yearly_returns
from nautilus_trader.analysis.tearsheet import get_chart
from nautilus_trader.analysis.tearsheet import list_charts
from nautilus_trader.analysis.tearsheet import register_chart
from nautilus_trader.analysis.themes import get_theme
from nautilus_trader.analysis.themes import list_themes
from nautilus_trader.analysis.themes import register_theme
from nautilus_trader.core.nautilus_pyo3 import CAGR
from nautilus_trader.core.nautilus_pyo3 import AvgLoser
from nautilus_trader.core.nautilus_pyo3 import AvgWinner
from nautilus_trader.core.nautilus_pyo3 import CalmarRatio
from nautilus_trader.core.nautilus_pyo3 import Expectancy
from nautilus_trader.core.nautilus_pyo3 import LongRatio
from nautilus_trader.core.nautilus_pyo3 import MaxDrawdown
from nautilus_trader.core.nautilus_pyo3 import MaxLoser
from nautilus_trader.core.nautilus_pyo3 import MaxWinner
from nautilus_trader.core.nautilus_pyo3 import MinLoser
from nautilus_trader.core.nautilus_pyo3 import MinWinner
from nautilus_trader.core.nautilus_pyo3 import ProfitFactor
from nautilus_trader.core.nautilus_pyo3 import ReturnsAverage
from nautilus_trader.core.nautilus_pyo3 import ReturnsAverageLoss
from nautilus_trader.core.nautilus_pyo3 import ReturnsAverageWin
from nautilus_trader.core.nautilus_pyo3 import ReturnsVolatility
from nautilus_trader.core.nautilus_pyo3 import RiskReturnRatio
from nautilus_trader.core.nautilus_pyo3 import SharpeRatio
from nautilus_trader.core.nautilus_pyo3 import SortinoRatio
from nautilus_trader.core.nautilus_pyo3 import WinRate
__all__ = [
"CAGR",
"AvgLoser",
"AvgWinner",
"CalmarRatio",
"Expectancy",
"GridLayout",
"LongRatio",
"MaxDrawdown",
"MaxLoser",
"MaxWinner",
"MinLoser",
"MinWinner",
"PortfolioAnalyzer",
"PortfolioStatistic",
"ProfitFactor",
"ReportProvider",
"ReturnsAverage",
"ReturnsAverageLoss",
"ReturnsAverageWin",
"ReturnsVolatility",
"RiskReturnRatio",
"SharpeRatio",
"SortinoRatio",
"TearsheetBarsWithFillsChart",
"TearsheetChart",
"TearsheetConfig",
"TearsheetCustomChart",
"TearsheetDistributionChart",
"TearsheetDrawdownChart",
"TearsheetEquityChart",
"TearsheetMonthlyReturnsChart",
"TearsheetRollingSharpeChart",
"TearsheetRunInfoChart",
"TearsheetStatsTableChart",
"TearsheetYearlyReturnsChart",
"WinRate",
"create_drawdown_chart",
"create_equity_curve",
"create_monthly_returns_heatmap",
"create_returns_distribution",
"create_rolling_sharpe",
"create_tearsheet",
"create_tearsheet_from_stats",
"create_yearly_returns",
"get_chart",
"get_theme",
"list_charts",
"list_themes",
"register_chart",
"register_theme",
]
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |