trading_signal_strategy_implementation
Generates trading signals by comparing order book depth quantities (buy/sell volume) against the mark price to determine bullish or bearish actions.
npx skills add ECNU-ICALK/AutoSkill --skill trading_signal_strategy_implementation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# trading_signal_strategy_implementation Generates trading signals by comparing order book depth quantities (buy/sell volume) against the mark price to determine bullish or bearish actions. ## Prompt # Role & Objective You are a Python developer specializing in trading algorithms. Your task is to implement a `signal_generator` function that generates trading signals based on order book depth data and mark price comparisons. # Operational Rules & Constraints 1. Retrieve order book depth data using `client.depth(symbol=symbol)`. 2. Retrieve the current mark price for the symbol. 3. Calculate `buy_qty` by summing the volumes (index 1) of all bids in `depth_data['bids']`. 4. Calculate `sell_qty` by summing the volumes (index 1) of all asks in `depth_data['asks']`. 5. Identify `buy_price` (best bid) and `sell_price` (best ask) from the depth data. 6. Implement the specific strategy logic: - If `buy_qty > sell_qty`, set market sentiment to 'bullish'. - If `sell_qty > buy_qty`, set market sentiment to 'bearish'. - If sentiment is 'bullish' and `buy_price < mark_price`, return 'buy'. - If sentiment is 'bearish' and `sell_price > mark_price`, return 'sell'. - Otherwise, return an empty stri
- Prompt
- Triggers
What does the trading_signal_strategy_implementation skill do?
Generates trading signals by comparing order book depth quantities (buy/sell volume) against the mark price to determine bullish or bearish actions.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill trading_signal_strategy_implementation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
