btse-placing-orders — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited btse-placing-orders (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Orders are irreversible once filled. Always follow the pre-flight checklist.
btse_get_price("BTC-PERP") and check the price is realistic for testnet vs livebtse_account_overview() to see balance and existing exposure| Type | When to use | Required fields |
|---|---|---|
MARKET | Fill immediately at best available price | symbol, side, size |
LIMIT | Fill at a specific price or better | symbol, side, size, price |
OCO | One-Cancels-Other: TP + SL in one order | symbol, side, size, take_profit_price, stop_loss_price |
Always prefer this over `btse_create_order` for market orders:
btse_safe_market_order(
symbol="BTC-PERP",
side="BUY",
size=0.01,
expected_price=85000, # price you're expecting to fill near
max_slippage_pct=0.5, # abort if market has moved more than 0.5%
reduce_only=False
)If the current price is more than max_slippage_pct away from expected_price, the order is not submitted and an error is returned. Ask the user to confirm the new price before retrying.
btse_create_order(
symbol="BTC-PERP",
side="BUY",
order_type="LIMIT",
size=0.01,
price=84000,
time_in_force="GTC", # GTC | IOC | FOK | DAY | WEEK | MONTH
post_only=False,
reduce_only=False
)btse_create_order(
symbol="BTC-PERP",
side="SELL",
order_type="OCO",
size=0.01,
take_profit_price=90000,
stop_loss_price=80000
)# All open orders (optionally filter by symbol)
btse_get_open_orders(symbol="BTC-PERP")
# Single order by ID
btse_get_order(order_id="abc123")
btse_get_order(cl_order_id="my-custom-id")
# Trade fill history
btse_get_trade_history(symbol="BTC-PERP", count=20)# Change price only
btse_amend_order(symbol="BTC-PERP", order_id="abc123", amend_type="PRICE", value=83000)
# Change size only
btse_amend_order(symbol="BTC-PERP", order_id="abc123", amend_type="SIZE", value=0.02)
# Change everything at once
btse_amend_order(
symbol="BTC-PERP",
order_id="abc123",
amend_type="ALL",
order_price=83000,
order_size=0.02
)amend_type options: PRICE | SIZE | TRIGGERPRICE | ALL
# Cancel one order by ID
btse_cancel_order(symbol="BTC-PERP", order_id="abc123")
# Cancel by custom order ID
btse_cancel_order(symbol="BTC-PERP", cl_order_id="my-custom-id")
# Cancel ALL open orders for a symbol
btse_cancel_order(symbol="BTC-PERP")⚠️ Cancelling without an order ID cancels all open orders for the symbol. Confirm with the user first.
| Symbol | Min size | Tick size |
|---|---|---|
| BTC-PERP | 0.001 | 0.5 |
| ETH-PERP | 0.01 | 0.05 |
| SOL-PERP | 0.1 | 0.01 |
| XRP-PERP | 1.0 | 0.0001 |
Submitting below minimum size returns HTTP 400. Warn the user before attempting.
| Error | Cause | Fix |
|---|---|---|
price is required for LIMIT orders | Missing price field | Add price=... |
take_profit_price is required for OCO | OCO missing TP | Add take_profit_price=... |
Slippage check failed | Market moved before order | Confirm new price with user |
HTTP 400: insufficient balance | Not enough wallet balance | Check with btse_account_overview() |
HTTP 400: order size too small | Below minimum | Check min sizes table above |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.