✓ Verified
💻 Development
✓ Enhanced Data
Entradex
Use the EntradeX CLI for DNSE workflows.
- Rating
- 4.8 (159 reviews)
- Downloads
- 548 downloads
- Version
- 1.0.0
Overview
Use the EntradeX CLI for DNSE workflows.
Complete Documentation
View Source →
EntradeX CLI
Install
bash
npm i -g entradex-cli
Usage
bash
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)
bash
entradex config set --key "<api-key>" --secret "<api-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
- 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-keyDNSE API key--api-secretDNSE API secret--base-urlAPI base URL (default:https://openapi.dnse.com.vn)--debugShow request details-V, --versionShow CLI version-h, --helpShow help
Commands
Config
bash
entradex config set [--key <key>] [--secret <secret>] [--url <url>]
entradex config get
entradex config clear
Account
bash
entradex account list
entradex account balances <accountNo>
entradex account loan-packages <accountNo> <marketType> [--symbol <symbol>]
Trade
bash
entradex trade order <marketType> <symbol> <side> <orderType> <price> <quantity> <tradingToken> [--price-stop <price>]
entradex trade modify <accountNo> <orderId> <marketType> <symbol> <side> <orderType> <price> <quantity> <tradingToken> [--price-stop <price>]
entradex trade cancel <accountNo> <orderId> <marketType> <tradingToken>
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 Orderprice(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. 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 - For
marketType=STOCK, values like101,102, ... are invalid odd lots and must be rejected. tradingToken(string): token fromentradex auth create-token
- 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
bash
entradex order list <accountNo> <marketType>
entradex order detail <accountNo> <orderId> <marketType>
entradex order history <accountNo> <marketType> [--from <date>] [--to <date>] [--page-size <size>] [--page-index <index>]
entradex order deals <accountNo> <marketType>
Market
bash
entradex market secdef <symbol> [--board-id <id>]
entradex market ppse <accountNo> <marketType> <symbol> <price> <loanPackageId>
Auth
bash
entradex auth send-otp <email> [--otp-type <type>]
entradex auth create-token <otpType> <passcode>
Dry Run
bash
entradex dry-run accounts
entradex dry-run balances <accountNo>
entradex dry-run order <marketType> <symbol> <side> <orderType> <price> <quantity> [--price-stop <price>]
Common Workflow
bash
# 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 <passcode>
# 4) Place an order
entradex trade order STOCK VIC NB LO 15000 100 <trading-token>
Installation
Terminal bash
openclaw install entradex
Copied!
💻Code Examples
entradex [global-options] [command]
entradex-global-options-command.txt
## Configuration
Credential priority order:
1. Config file (`~/.entradex-cli/config.json`) - recommended
2. Environment variables (`DNSE_API_KEY`, `DNSE_API_SECRET`)
3. Global command options (`--api-key`, `--api-secret`)
Setup and inspect config:entradex config clear
entradex-config-clear.txt
## Security & Safety
**Before using this skill:**
- Verify the npm package: `npm view entradex-cli` - check author is `hieuhani` and repository matches
- Inspect package contents: `npm pack entradex-cli --dry-run` or view on [npmjs.com](https://www.npmjs.com/package/entradex-cli)
- Treat `DNSE_API_KEY` and `DNSE_API_SECRET` as 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 <key>` DNSE API key
- `--api-secret <secret>` DNSE API secret
- `--base-url <url>` API base URL (default: `https://openapi.dnse.com.vn`)
- `--debug` Show request details
- `-V, --version` Show CLI version
- `-h, --help` Show help
## Commands
### Configentradex trade cancel <accountNo> <orderId> <marketType> <tradingToken>
entradex-trade-cancel-accountno-orderid-markettype-tradingtoken.txt
Parameters:
- `marketType` (enum): `STOCK`, `DERIVATIVE`
- `side` (enum): `NB` (buy), `NS` (sell)
- `orderType` (enum): `ATO`, `ATC`, `LO`, `MTL`, `MOK`, `PLO`
- `ATO`: At The Opening
- `ATC`: At The Close
- `LO`: Limit Order
- `MTL`: Market To Limit
- `MOK`: Market Order Kill
- `PLO`: Post Limit Order
- `price` (number): unit price; follow DNSE tick-size/market constraints
- If `orderType=LO`, `price` must be greater than `0`.
- If `orderType` is anything other than `LO` (`ATO`, `ATC`, `MTL`, `MOK`, `PLO`), `price` must be exactly `0`.
- `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 `1` to `99`
- For `marketType=STOCK`, values like `101`, `102`, ... are invalid odd lots and must be rejected.
- `tradingToken` (string): token from `entradex auth create-token`
Normalization rules for user intent:
- If user says `buy`/`sell`, map to `NB`/`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 `orderType` is not supported by the target market/session, stop and ask user to choose a supported type.
### Orderexample.sh
entradex config set --key "<api-key>" --secret "<api-secret>"
entradex config set
entradex config get
entradex config clearexample.sh
entradex config set [--key <key>] [--secret <secret>] [--url <url>]
entradex config get
entradex config clearexample.sh
entradex account list
entradex account balances <accountNo>
entradex account loan-packages <accountNo> <marketType> [--symbol <symbol>]example.sh
entradex trade order <marketType> <symbol> <side> <orderType> <price> <quantity> <tradingToken> [--price-stop <price>]
entradex trade modify <accountNo> <orderId> <marketType> <symbol> <side> <orderType> <price> <quantity> <tradingToken> [--price-stop <price>]
entradex trade cancel <accountNo> <orderId> <marketType> <tradingToken>example.sh
entradex order list <accountNo> <marketType>
entradex order detail <accountNo> <orderId> <marketType>
entradex order history <accountNo> <marketType> [--from <date>] [--to <date>] [--page-size <size>] [--page-index <index>]
entradex order deals <accountNo> <marketType>example.sh
entradex dry-run accounts
entradex dry-run balances <accountNo>
entradex dry-run order <marketType> <symbol> <side> <orderType> <price> <quantity> [--price-stop <price>]example.sh
# 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 <passcode>
# 4) Place an order
entradex trade order STOCK VIC NB LO 15000 100 <trading-token>⚙️Configuration Options
| Option | Type | Default | Description |
|---|---|---|---|
DNSE_API_KEY | string | - | , `DNSE_API_SECRET`) |
Tags
#productivity_and-tasks
#cli
#workflow
Quick Info
Category Development
Model Claude 3.5
Complexity Advanced
Author hieuhani
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
Ready to Install?
Get started with this skill in seconds
openclaw install entradex
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
⚡ GPT-Optimized
)}
★ 3.8 (274)
↓ 17,648
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0