Spaces:
Build error
Build error
File size: 2,101 Bytes
6e99af6 23f86af 6e99af6 23f86af 6e99af6 23f86af 6e99af6 23f86af 6e99af6 23f86af 6e99af6 23f86af 6e99af6 23f86af 6e99af6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | {
"agent": {
"name": "openclaw-trading-bot",
"description": "OpenClaw bot for paper trading with Alpaca and ResearchEngineering AGI Multi-Model API",
"timezone": "UTC"
},
"providers": [
{
"name": "agi_chat",
"type": "custom_http",
"base_url": "${LLM_SPACE_OPENAI_URL}",
"method": "POST",
"timeout_ms": 30000,
"headers": {
"Content-Type": "application/json"
},
"request_schema": {
"messages": [
{
"role": "user",
"content": "${prompt}"
}
],
"max_tokens": 700,
"temperature": 0.2
},
"response_path": "choices.0.message.content"
},
{
"name": "agi_web_chat",
"type": "custom_http",
"base_url": "${LLM_SPACE_WEBCHAT_URL}",
"method": "POST",
"timeout_ms": 45000,
"headers": {
"Content-Type": "application/json"
},
"request_schema": {
"messages": [
{
"role": "user",
"content": "${prompt}"
}
],
"max_tokens": 700,
"temperature": 0.2,
"max_search_results": 5
},
"response_path": "choices.0.message.content"
}
],
"routing": {
"market_analysis": "agi_web_chat",
"signal_generation": "agi_chat",
"reporting": "agi_chat"
},
"tools": {
"alpaca_paper": {
"type": "python",
"module": "tools.alpaca_paper",
"env": [
"ALPACA_API_KEY",
"ALPACA_API_SECRET",
"ALPACA_BASE_URL"
]
},
"hf_storage": {
"type": "python",
"module": "tools.hf_storage",
"env": [
"HF_TOKEN",
"HF_TRADES_REPO"
]
},
"market_data": {
"type": "python",
"module": "tools.market_data",
"env": [
"MARKET_DATA_SOURCE"
]
}
},
"memory": {
"type": "sqlite",
"path": "/data/openclaw_memory.sqlite",
"max_tokens": 1200
},
"safety": {
"paper_only": true,
"max_order_qty": 5,
"max_position_usd": 5000,
"require_signal": true
}
}
|