-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathenv_example
More file actions
32 lines (23 loc) · 1.56 KB
/
Copy pathenv_example
File metadata and controls
32 lines (23 loc) · 1.56 KB
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
##debug
DEBUG=true
##Free Register at AiTrados website https://www.aitrados.com/ to get your API secret key (Free).
AITRADOS_SECRET_KEY=YOUR_SECRET_KEY
##Enable RPC/PubSub Service.you can cross process/software/code language communication.easily call api /websocks/other service
## see https://docs.aitrados.com/en/docs/api/trade_middleware/overview/
ENABLE_RPC_PUBSUB_SERVICE=true
##LIVE_STREAMING_OHLC_LIMIT:Real-time OHLC data stream length,default 150
##Prevent the strategy result from not being obtained due to insufficient ohlc length. For example, the value of MA200 can only be calculated when the length of ohlc is greater than 200.
LIVE_STREAMING_OHLC_LIMIT=149
#MCP LLM Setting
##OHLC_LIMIT_FOR_LLM :Due to the window context size limitations of the Large Language Model (LLM), please set a reasonable number of OHLC rows. This setting will only affect the output to the LLM and will not influence strategy calculations
##If it is a multi-period chart analysis, the OHLC_LIMIT_FOR_LLM adjustment is smaller
OHLC_LIMIT_FOR_LLM=30
##You can modify the ohlc column names to suit your trading system. Mapping example:name1:myname1,name2:myname2
#RENAME_COLUMN_NAME_MAPPING_FOR_LLM=interval:timeframe,
##OHLC_COLUMN_NAMES_FOR_LLM:Filter out redundant column names for LLM input. The column names should be separated by commas.
#OHLC_COLUMN_NAMES_FOR_LLM=timeframe,close_datetime,open,high,low,close,volume
GOOGLE_API_KEY=your-api-key
OPENAI_API_KEY="your_api_key_here"
#LANGFUSE_SECRET_KEY = "sk-xx"
#LANGFUSE_PUBLIC_KEY = "pk-xx"
#LANGFUSE_BASE_URL = "https://us.cloud.langfuse.com"