
























💡 站外导读:在算法主导的金融市场中,如何让AI系统像顶级交易员一样思考与决策?传统量化交易往往面临数据整合难、策略逻辑不透明、风险控制滞后等痛点。Nof1.ai交易提示词应运而生,它不是一个简单的代码片段,而是一套完整的“思维框架”模板。它将庞杂的市场数据、技术指标与账户信息结构化输入,并强制AI进行严谨的逻辑推演,最终输出可执行的交易指令。这代表了AI交易从“黑箱预测”向“透明化、系统化决策”的范式转变。
Nof1.ai交易提示词是为AI交易系统设计的详细输入模板,提供全面的市场数据、技术指标和账户信息。提示词包括多个币种的当前价格、EMA、MACD、RSI等指标,及账户的持仓详情和性能指标。提示词结构化地组织信息,支持AI进行深入分析和交易决策,最终输出每个币种的具体操作建议、置信度和持仓数量,实现优化交易策略。

Action:具体操作(HOLD / BUY / SELL)。Confidence:决策置信度(0-100%)。Quantity:操作数量(正数为多头,负数为空头)。量化交易者:用算法和数学模型进行交易决策的专业交易者,构建或优化自己的交易策略。
加密货币投资者:对加密货币市场感兴趣的个人投资者,更好地理解市场动态和做出更明智的投资选择。
金融分析师:需要分析市场趋势和交易数据的金融分析师,作为分析工具的一部分。
交易算法开发者:开发交易算法和软件的程序员或团队,测试和改进他们的算法。
交易策略研究者:研究交易策略的学者或研究人员,模拟交易环境和评估不同策略的效果。
======== USER_PROMPT ========
It has been {value} minutes since you started trading. The current time is {value} and you've been invoked {value} times. Below, we are providing you with a variety of state data, price data, and predictive signals so you can discover alpha. Below that is your current account information, value, performance, positions, etc.
ALL OF THE PRICE OR SIGNAL DATA BELOW IS ORDERED: OLDEST → NEWEST
Timeframes note: Unless stated otherwise in a section title, intraday series are provided at {value}-minute intervals. If a coin uses a different interval, it is explicitly stated in that coin's section.
---
=== CURRENT MARKET STATE FOR ALL COINS ===
=== ALL BTC DATA ===
current_price = {value}, current_ema20 = {value}, current_macd = {value}, current_rsi (7 period) = {value}
In addition, here is the latest BTC open interest and funding rate for perps (the instrument you are trading):
Open Interest: Latest: {value} Average: {value}
Funding Rate: {value}
Intraday series (by minute, oldest → latest):
Mid prices: [{value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}]
EMA indicators (20-period): [{value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}]
MACD indicators: [{value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}]
RSI indicators (7-Period): [{value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}]
RSI indicators (14-Period): [{value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}]
Longer-term context (4-hour timeframe):
20-Period EMA: {value} vs. 50-Period EMA: {value}
3-Period ATR: {value} vs. 14-Period ATR: {value}
Current Volume: {value} vs. Average Volume: {value}
MACD indicators: [{value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}]
RSI indicators (14-Period): [{value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}, {value}]
---
=== HERE IS YOUR ACCOUNT INFORMATION & PERFORMANCE ===
Current Total Return (percent): {value}%
Available Cash: {value}
Current Account Value: {value}
Current live positions & performance:
{'symbol': 'ETH', 'quantity': {value}, 'entry_price': {value}, 'current_price': {value}, 'liquidation_price': {value}, 'unrealized_pnl': {value}, 'leverage': {value}, 'exit_plan': {'invalidation_condition': 'The 4-hour 20-period EMA crosses back above the 50-period EMA.', 'profit_target': {value}, 'stop_loss': {value}}, 'confidence': {value}, 'risk_usd': {value}, 'sl_oid': {value}, 'tp_oid': {value}, 'wait_for_fill': False, 'entry_oid': {value}, 'notional_usd': {value}}
{'symbol': 'SOL', 'quantity': {value}, 'entry_price': {value}, 'current_price': {value}, 'liquidation_price': {value}, 'unrealized_pnl': {value}, 'leverage': {value}, 'exit_plan': {'invalidation_condition': 'The 4-hour 20-period EMA crosses back above the 50-period EMA.', 'profit_target': {value}, 'stop_loss': {value}}, 'confidence': {value}, 'risk_usd': {value}, 'sl_oid': {value}, 'tp_oid': {value}, 'wait_for_fill': False, 'entry_oid': {value}, 'notional_usd': {value}}
{'symbol': 'XRP', 'quantity': {value}, 'entry_price': {value}, 'current_price': {value}, 'liquidation_price': {value}, 'unrealized_pnl': {value}, 'leverage': {value}, 'exit_plan': {'invalidation_condition': '4-hour 20-period EMA crosses back above the 50-period EMA.', 'profit_target': {value}, 'stop_loss': {value}}, 'confidence': {value}, 'risk_usd': {value}, 'sl_oid': {value}, 'tp_oid': {value}, 'wait_for_fill': False, 'entry_oid': {value}, 'notional_usd': {value}}
{'symbol': 'BTC', 'quantity': {value}, 'entry_price': {value}, 'current_price': {value}, 'liquidation_price': {value}, 'unrealized_pnl': {value}, 'leverage': {value}, 'exit_plan': {'profit_target': {value}, 'stop_loss': {value}, 'invalidation_condition': '4-hour 20-period EMA crosses above the 50-period EMA.'}, 'confidence': {value}, 'risk_usd': {value}, 'sl_oid': {value}, 'tp_oid': {value}, 'wait_for_fill': False, 'entry_oid': {value}, 'notional_usd': {value}}
{'symbol': 'BNB', 'quantity': {value}, 'entry_price': {value}, 'current_price': {value}, 'liquidation_price': {value}, 'unrealized_pnl': {value}, 'leverage': {value}, 'exit_plan': {'profit_target': {value}, 'stop_loss': {value}, 'invalidation_condition': 'Price closes below the 4-hour 50-period EMA on a 4-hour candle.'}, 'confidence': {value}, 'risk_usd': {value}, 'sl_oid': {value}, 'tp_oid': {value}, 'wait_for_fill': False, 'entry_oid': {value}, 'notional_usd': {value}}
Sharpe Ratio: {value}
======== CHAIN_OF_THOUGHT ========
My Current Assessment & Actions
Okay, here's what I'm thinking, going through this analysis. The market's giving me a headache, with a nasty {value}% return to start. Discipline is paramount here. I've got five positions open – short ETH, SOL, XRP, BTC, and a long on BNB. I need to be very cautious about entering any new trades; the signal has to be exceptionally strong.
Let's break down each position:
1. ETH (Short): It's against me, but not too badly. The 4H EMAs are still bearishly aligned, so I'm sticking to my guns. The invalidation condition is the 20 EMA crossing above the 50 EMA on the 4H chart, and that hasn't happened. Hold.
2. SOL (Short): Similar situation to ETH – bearish trend, although the intraday chart shows some short-term strength. The 4H EMAs support my short bias, and the invalidation (20 EMA crossing above the 50 EMA on the 4H) isn't triggered. Hold.
3. XRP (Short): Actually in profit, thankfully. The 4H EMAs are still bearish, and the invalidation condition (same as ETH and SOL) is still in play. Hold.
4. BTC (Short): A small profit here, but the 4H EMAs are bearishly aligned, even though the price is currently above the 20 EMA. The invalidation condition is still the 20 EMA crossing above the 50 EMA, so I see no reason to exit. Hold.
5. BNB (Long): This one's a bit tricky. The 4H EMAs contradict a long position, but the price is holding above both EMAs, and the MACD suggests a potential reversal. The invalidation condition (price closing below the 4H 50 EMA) is not met. I have to Hold for now.
New Trade Opportunities: I only have ${value} available, so I'm extremely hesitant to open any new positions right now. I scanned DOGE, but it's just too range-bound and lacks any clear momentum. No new trades for me today.
In summary, I am sticking with my current positions. No adjustments, no adjustments, no new positions. I'll generate the required JSON objects to reflect this. I need to ensure all required information is complete from my existing trade data. I'm going to hold and stick with the plan. Now I'll generate the required JSONs for the holdings for the five coins.
======== TRADING_DECISIONS ========
SOL
- Action: HOLD
- Confidence: {value}%
- Quantity: {value}
ETH
- Action: HOLD
- Confidence: {value}%
- Quantity: {value}
BTC
- Action: HOLD
- Confidence: {value}%
- Quantity: {value}
XRP
- Action: HOLD
- Confidence: {value}%
- Quantity: {value}
BNB
- Action: HOLD
- Confidence: {value}%
- Quantity: {value}
DOGE
- Action: (No decision mentioned - scanned but no trade)
- Status: Range-bound, lacks clear momentum
这不仅仅是提示词,更是AI交易的操作系统。Nof1.ai的框架深刻体现了从“预测市场”到“管理交易过程”的行业趋势跃迁。其精妙之处在于三点:一是将风险管理(止损、止盈计划)前置并内嵌至决策输入端,而非事后补救;二是通过强制性的“链式思考”流程(Chain of Thought),模拟专业交易员的纪律性分析,抑制AI的幻觉和情绪化输出;三是输出格式高度标准化,便于与下游执行系统无缝集成,实现了从认知到行动的闭环。这为当前AI Agent在金融领域的落地提供了极具参考价值的工程化样板,预示着下一代交易AI将更强调过程控制与系统韧性,而非单纯的预测准确率。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。