Skip to content

Has anyone successfully run it directly using the Deepseek API? #84

@haiyaqingdao

Description

@haiyaqingdao

�📄 Using specified configuration file: .\configs\my_config.js
✅ Successfully loaded configuration file: configs\my_config.json
✅ Successfully loaded Agent class: BaseAgent (from agent.base_agent.base_agent)
�🚀 Starting trading experiment
�🤖 Agent type: BaseAgent
�📅 Date range: 2025-10-01 to 2025-10-31
�🤖 Model list: ['deepseek-chat-v3.1']
⚙️ Agent config: max_steps=30, max_retries=3, base_delay=1.0, initial_cash=10000.0
============================================================
�🤖 Processing model: deepseek-chat-v3.1
�📝 Signature: deepseek-chat-v3.1
�🔧 BaseModel: deepseek-chat
✅ BaseAgent instance created successfully: BaseAgent(signature='deepseek-chat-v3.1', basemodel='deepseek-chat', stocks=101)
�🚀 Initializing agent: deepseek-chat-v3.1
✅ Loaded 6 MCP tools
✅ Agent deepseek-chat-v3.1 initialization completed
✅ Initialization successful
�📅 Running date range: 2025-10-01 to 2025-10-31
✅ Agent deepseek-chat-v3.1 registration completed
�🚀 Position file: ./data/agent_data\deepseek-chat-v3.1\position\position.jsonl
�🤖 Initial cash: $10000.0
�📅 Number of stocks: 101
�🤖 Trading days to process: ['2025-10-02', '2025-10-03', '2025-10-06', '2025-10-07', '2025-10-08', '2025-10-09', '2025-10-10', '2025-10-13', '2025-10-14', '2025-10-15', '2025-10-16', '2025-10-17', '2025-10-20', '2025-10-21', '2025-10-22', '2025-10-23', '2025-10-24', '2025-10-
', '2025-10-28', '2025-10-29', '2025-10-30', '2025-10-31']
�🔄 Processing deepseek-chat-v3.1 - Date: 2025-10-02
�🤖 Attempting to run deepseek-chat-v3.1 - 2025-10-02 (Attempt 1)
�📝 Starting trading session: 2025-10-02
signature: deepseek-chat-v3.1
today_date: 2025-10-02
�🚀 Step 1/
⚠️ Attempt 1 failed, retrying after 1.0 seconds...
Error details: Error calling tool 'buy': SIGNATURE environment variable is not set
⚠️ Attempt 2 failed, retrying after 2.0 seconds...
Error details: Error calling tool 'buy': SIGNATURE environment variable is not set
❌ Trading session error: Error calling tool 'buy': SIGNATURE environment variable is not set
Error details: Error calling tool 'buy': SIGNATURE environment variable is not set
❌ Attempt 1 failed: Error calling tool 'buy': SIGNATURE environment variable is not set
⏳ Waiting 1.0 seconds before retry...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions