Skip to Content
v1.1.4 Now Released 🎉Use Now  🐧

AI Features

Candlestick Chart

Supported Brands

  • OpenAI: GPT series models
  • Aliyun (Alibaba Cloud): Tongyi Qianwen and other models
  • DeepSeek: DeepSeek series models
  • Claude: Anthropic models
  • Gemini: Google models

Function Types

  • Chart Analysis: AI analyzes current chart data, providing technical analysis, trend judgments, etc.
  • Predictive Analysis: AI performs price predictions and risk assessments based on historical data

How to Use

  1. Enable AI Panel: Select the desired AI function from the left panel (e.g., “OpenAI Chart Analysis”)
  2. Select Model: Choose an appropriate model from the available list in the AI chat box
  3. Configure API Key: Pre-configure API keys and models for respective brands in the aiconfigs property
  4. Start Conversation: Input questions or analysis requests to receive professional financial analysis from AI

Support Model

Aliyun

qwen-turbo qwen-plus qwen-max qwen-max-longcontext qwen2.5-0.5b qwen2.5-0.5b-instruct qwen2.5-7b qwen2.5-7b-instruct qwen2.5-14b qwen2.5-14b-instruct qwen2.5-32b qwen2.5-32b-instruct qwen2.5-72b qwen2.5-72b-instruct qwen2.5-coder qwen2.5-coder-7b qwen2.5-coder-14b qwen2.5-coder-32b qwen-vl-lite qwen-vl-plus qwen-vl-max qwen-audio-turbo qwen-audio-chat qwen-math-7b llama2-7b-chat-v2 baichuan2-7b-chat-v1 qwen-financial qwen-financial-14b qwen-financial-32b qwen-medical qwen-medical-14b qwen-medical-32b qwen-omni qwen-omni-pro'

DeepSeek

deepseek-chat deepseek-chat-lite deepseek-chat-pro deepseek-chat-max deepseek-coder deepseek-coder-lite deepseek-coder-pro deepseek-math deepseek-math-pro deepseek-reasoner deepseek-reasoner-pro deepseek-vision deepseek-vision-pro deepseek-finance deepseek-law deepseek-medical deepseek-research deepseek-omni deepseek-omni-pro deepseek-llm deepseek-llm-67b deepseek-llm-131b'

OpenAI

gpt-4 gpt-4-0314 gpt-4-0613 gpt-4-32k gpt-4-32k-0314 gpt-4-32k-0613 gpt-4-turbo gpt-4-turbo-preview gpt-4-turbo-2024-04-09 gpt-4o gpt-4o-2024-05-13 gpt-4o-mini gpt-4o-mini-2024-07-18 gpt-3.5-turbo gpt-3.5-turbo-0125 gpt-3.5-turbo-1106 gpt-3.5-turbo-instruct gpt-3.5-turbo-16k gpt-3.5-turbo-16k-0613 davinci-002 babbage-002 text-davinci-003 text-davinci-002 text-davinci-001 text-curie-001 text-babbage-001 text-ada-001 text-embedding-ada-002 text-embedding-3-small text-embedding-3-large dall-e-2 dall-e-3 whisper-1 tts-1 tts-1-hd text-moderation-latest text-moderation-stable

API Integration

The system integrates the following SDKs:

  • ohlcv-ai library provides official API calls for OpenAI, Aliyun, DeepSeek, and others.

Configuration Example

<CandleView data={candleData} title="Test" theme={theme} i18n={i18n} markData={a} height={800} leftpanel={true} toppanel={true} terminal={true} ai={true} aiconfigs={[ // Simultaneously configure different models from multiple AI brands. { proxyUrl: "http://0.0.0.0/api", brand: "aliyun", model: "qwen-turbo", }, { proxyUrl: "http://0.0.0.0/api", brand: "aliyun", model: "qwen-omni", }, { proxyUrl: "http://0.0.0.0/api", brand: "deepseek", model: "gpt-4", }, { proxyUrl: "http://0.0.0.0/api", brand: "openai", model: "gpt-3.5-turbo", }, ]} />

Proxy Interface Standard

💡 Services that must be implemented in the domain configured by proxyUrl.

/analyzeOHLCV - A service specifically designed for processing OHLCV data.
Last updated on