← 返回 Skills 市场
535
总下载
2
收藏
0
当前安装
17
版本数
在 OpenClaw 中安装
/install entradex
功能描述
Use the EntradeX CLI for DNSE workflows. Use when (1) setting DNSE API credentials via env vars or config file, (2) reading account, market, and order data,...
使用说明 (SKILL.md)
EntradeX CLI
Install
npm i -g entradex-cli
Usage
entradex [global-options] [command]
Configuration
Credential priority order:
- Config file (
~/.entradex-cli/config.json) - recommended - Environment variables (
DNSE_API_KEY,DNSE_API_SECRET) - Global command options (
--api-key,--api-secret)
Setup and inspect config:
entradex config set --key "\x3Capi-key>" --secret "\x3Capi-secret>"
entradex config set
entradex config get
entradex config clear
Security & Safety
Before using this skill:
- Verify the npm package:
npm view entradex-cli- check author ishieuhaniand repository matches - Inspect package contents:
npm pack entradex-cli --dry-runor view on npmjs.com - Treat
DNSE_API_KEYandDNSE_API_SECRETas highly sensitive trading credentials
Autonomous execution warning:
- This skill can place real trades using provided credentials
- Consider using a separate limited-permission account
- Rotate API keys if you suspect unauthorized access
Global Options
--api-key \x3Ckey>DNSE API key--api-secret \x3Csecret>DNSE API secret--base-url \x3Curl>API base URL (default:https://openapi.dnse.com.vn)--debugShow request details-V, --versionShow CLI version-h, --helpShow help
Commands
Config
entradex config set [--key \x3Ckey>] [--secret \x3Csecret>] [--url \x3Curl>]
entradex config get
entradex config clear
Account
entradex account list
entradex account balances \x3CaccountNo>
entradex account loan-packages \x3CaccountNo> \x3CmarketType> [--symbol \x3Csymbol>]
Trade
entradex trade order \x3CmarketType> \x3Csymbol> \x3Cside> \x3CorderType> \x3Cprice> \x3Cquantity> \x3CtradingToken> [--price-stop \x3Cprice>]
entradex trade modify \x3CaccountNo> \x3CorderId> \x3CmarketType> \x3Csymbol> \x3Cside> \x3CorderType> \x3Cprice> \x3Cquantity> \x3CtradingToken> [--price-stop \x3Cprice>]
entradex trade cancel \x3CaccountNo> \x3CorderId> \x3CmarketType> \x3CtradingToken>
Parameters:
marketType(enum):STOCK,DERIVATIVEside(enum):NB(buy),NS(sell)orderType(enum):ATO,ATC,LO,MTL,MOK,PLOATO: At The OpeningATC: At The CloseLO: Limit OrderMTL: Market To LimitMOK: Market Order KillPLO: Post Limit Order
price(number): unit price; follow DNSE tick-size/market constraints- If
orderType=LO,pricemust be greater than0. - If
orderTypeis anything other thanLO(ATO,ATC,MTL,MOK,PLO),pricemust be exactly0.
- If
quantity(integer): order quantity; must satisfy market lot rules- For
marketType=STOCK, valid quantity is either:- Board lot: multiples of 100 (
100,200, ...) - Odd lot: integers from
1to99
- Board lot: multiples of 100 (
- For
marketType=STOCK, values like101,102, ... are invalid odd lots and must be rejected.
- For
tradingToken(string): token fromentradex auth create-token
Normalization rules for user intent:
- If user says
buy/sell, map toNB/NS. - Uppercase enum-style params before execution (
marketType,side,orderType). - If user provides an unsupported enum value, stop and ask for a valid value.
- If
orderTypeis not supported by the target market/session, stop and ask user to choose a supported type.
Order
entradex order list \x3CaccountNo> \x3CmarketType>
entradex order detail \x3CaccountNo> \x3CorderId> \x3CmarketType>
entradex order history \x3CaccountNo> \x3CmarketType> [--from \x3Cdate>] [--to \x3Cdate>] [--page-size \x3Csize>] [--page-index \x3Cindex>]
entradex order deals \x3CaccountNo> \x3CmarketType>
Market
entradex market secdef \x3Csymbol> [--board-id \x3Cid>]
entradex market ppse \x3CaccountNo> \x3CmarketType> \x3Csymbol> \x3Cprice> \x3CloanPackageId>
Auth
entradex auth send-otp \x3Cemail> [--otp-type \x3Ctype>]
entradex auth create-token \x3CotpType> \x3Cpasscode>
Dry Run
entradex dry-run accounts
entradex dry-run balances \x3CaccountNo>
entradex dry-run order \x3CmarketType> \x3Csymbol> \x3Cside> \x3CorderType> \x3Cprice> \x3Cquantity> [--price-stop \x3Cprice>]
Common Workflow
# 1) Configure credentials
entradex config set
# 2) Send OTP
entradex auth send-otp [email protected]
# 3) Create trading token with passcode
entradex auth create-token smart_otp \x3Cpasscode>
# 4) Place an order
entradex trade order STOCK VIC NB LO 15000 100 \x3Ctrading-token>
安全使用建议
This skill appears coherent for a trading CLI: it needs the entradex binary (npm package) and your DNSE API key/secret. Before installing or granting credentials: (1) inspect the npm package and repository (SKILL.md suggests doing so), (2) consider using a limited-permission trading account or API key for autonomous runs, (3) avoid storing long-lived master keys in shared environments, and (4) rotate keys if suspicious activity occurs. NPM packages can run code on install and at runtime — verify the package author/repo before installing.
功能分析
Type: OpenClaw Skill
Name: entradex
Version: 0.1.16
The skill bundle is designed to interact with the EntradeX CLI for trading, which inherently involves high-risk actions (real trades) and sensitive credentials (DNSE_API_KEY, DNSE_API_SECRET). However, the `SKILL.md` file is transparent about these capabilities and explicitly warns the user about the risks, recommending verification of the `entradex-cli` npm package and caution with credentials. There is no evidence of prompt injection against the agent, data exfiltration, malicious execution, persistence mechanisms, or obfuscation within the skill bundle itself. The skill's functionality aligns with its stated purpose, and the security warnings indicate responsible design rather than malicious intent.
能力评估
Purpose & Capability
Name/description (EntradeX CLI for DNSE trading) align with required binaries (entradex), required env vars (DNSE_API_KEY, DNSE_API_SECRET), and declared install (npm entradex-cli). All requested items are reasonable for a trading CLI.
Instruction Scope
SKILL.md describes only installing/using the CLI, configuring credentials (config file or env), and running account/market/trade commands. It does not instruct reading unrelated system files or exfiltrating data. It explicitly warns that the CLI can place real trades.
Install Mechanism
Install is an npm package (entradex-cli) that provides the entradex binary — this matches the declared requirement. npm packages can execute arbitrary code during install/runtime, so verifying package source (as the SKILL.md suggests) is sensible; the install method itself is proportionate to the skill's purpose.
Credentials
Only DNSE_API_KEY and DNSE_API_SECRET are required and DNSE_API_KEY is declared as primaryEnv. These credentials are expected for a trading CLI. No unrelated secrets or many disparate credentials are requested.
Persistence & Privilege
always:false (no forced presence). The skill can be invoked autonomously (platform default) but that is not by itself a concern; the SKILL.md warns about real trades and suggests mitigations.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install entradex - 安装完成后,直接呼叫该 Skill 的名称或使用
/entradex触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.16
No changes detected in this version.
- Version 0.1.16 released with no updates to documentation or code files.
v0.1.15
- Metadata updated: the "metadata" section now uses the "openclaw" key instead of "entradex".
- No changes to commands, usage, or documentation content.
v0.1.14
- Removed references to the secondary CLI binary ("entradex-cli") – only "entradex" is now required.
- Added "primaryEnv: DNSE_API_KEY" metadata.
- Simplified OTP/trading-token instructions and removed extended user-OTP policy details from guidance.
- Clarified and shortened the Security & Safety section.
- Dropped explicit step-by-step warnings about manual OTP/passcode entry.
- Cleaned up the "Common Workflow" and made flow descriptions more concise.
v0.1.13
- Updated security section: clarified that real trade execution requires explicit user OTP/passcode entry and that no OTP should be reused, assumed, or fabricated.
- Added new OTP policy and workflow guidance, specifying manual user steps for SmartOTP and email OTP flows.
- Revised sample commands and workflow to require explicit user interaction for creating trading tokens.
- Emphasized that agents must require explicit user confirmation and user-entered OTP/passcode before executing real trades.
v0.1.12
- Trade command parameters and validation rules are now fully documented, including enum values for market type, side, and order type.
- Detailed price and quantity validation rules are added for order placement, reflecting DNSE market constraints.
- Command usage examples have been updated for consistency with new enum requirements.
- User intent normalization and error-handling rules for enum parameters are specified.
v0.1.11
- Added entradex-cli to required bins in metadata for improved compatibility.
- Updated install metadata section to clarify kind and package info.
- Added a homepage link to the EntradeX CLI npm package in metadata.
v0.1.10
- Updated SKILL.md metadata to explicitly declare required environment variables (DNSE_API_KEY, DNSE_API_SECRET).
- Reformatted metadata section for improved clarity and structure.
- No changes to functionality or usage—documentation only.
v0.1.9
- Updated SKILL.md to simplify description and clarify intended workflows and scenarios of use.
- Revised the metadata section for clearer structure and accuracy.
- Installation instructions now explicitly add the npm global install command.
- Removed some redundant warnings to streamline security and safety guidance.
- No changes to CLI commands or functionality.
v0.1.8
Version 0.1.8 of entradex
- No file changes detected in this release.
- No new features, fixes, or updates noted.
v0.1.7
- Added metadata fields: homepage, license, and author to SKILL.md.
- Added explicit security and safety instructions, including how to verify the npm package and warnings about real trading.
- Linked to the official GitHub repository and npm package for further inspection.
- Clarified credential and usage recommendations.
- Minor formatting and structure improvements for better readability.
v0.1.6
- Updated SKILL.md metadata format for consistency; moved "requires" and "install" sections out from under the custom "entradex" key.
- No commands or usage changed; documentation now uses a standardized metadata layout.
v0.1.5
- Metadata structure simplified: moved requirements and install instructions under a single "entradex" field.
- Removed duplicate "requires" section at the top level in favor of a more concise format.
- Dropped detailed security/npm package review instructions for brevity.
- No changes to commands, usage, or workflow documentation.
v0.1.4
- Added required_binaries, required_env_vars, and required_config_paths fields to metadata section in SKILL.md for improved requirements clarity.
- No changes to core commands, usage instructions, or workflow.
v0.1.3
- Updated SKILL.md with detailed npm security and package verification instructions for safer global installation.
- Added advice on inspecting package metadata and contents before install.
- Noted interactive credential setup as recommended, and warned about exposing secrets in shell history with CLI arguments.
- No changes to commands, CLI functionality, or usage examples.
v0.1.2
- Expanded metadata to specify required environment variables and config files.
- Updated install instructions and security notes for handling API credentials.
- Clarified usage of local workspace commands versus global installation.
- No changes to available CLI commands or workflow.
- Documentation improvements and formatting adjustments for clarity.
v0.1.1
No changes detected in this version.
- No file or documentation updates were made in version 0.1.1.
v0.1.0
Initial release of entradex CLI integration.
- Provides CLI commands to interact with the DNSE EntradeX API.
- Supports authentication, account management, order placement, trading, and market data operations.
- Credentials can be set via config file, environment variables, or command options.
- Includes workflow for typical trading actions: configure, authenticate, and place orders.
元数据
常见问题
EntradeX 是什么?
Use the EntradeX CLI for DNSE workflows. Use when (1) setting DNSE API credentials via env vars or config file, (2) reading account, market, and order data,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 535 次。
如何安装 EntradeX?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install entradex」即可一键安装,无需额外配置。
EntradeX 是免费的吗?
是的,EntradeX 完全免费(开源免费),可自由下载、安装和使用。
EntradeX 支持哪些平台?
EntradeX 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 EntradeX?
由 Hieu Tran(@hieuhani)开发并维护,当前版本 v0.1.16。
推荐 Skills