Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.2.3 instead.
Reason given by maintainers: no need

crowdwisdomtrading

Python client for CrowdWisdom Trading crowd data on US stocks: free daily and weekly crowd scores, the per-source crowd consensus, the newest crowd setup (direction, entry, targets, stops), today's setups, CrowdMap (crowd support / resistance levels) and point-in-time setup history.

Start free with no account. Pay per call with x402 (USDC on Base, no account) or use a Bearer key from a plan. Includes a ready-made alpha model for virattt/ai-hedge-fund.

Install

pip install crowdwisdomtrading            # free daily + weekly scores, Bearer-key mode
pip install "crowdwisdomtrading[x402]"    # pay per call with a wallet
pip install "crowdwisdomtrading[aihf]"    # + ai-hedge-fund model

Try it free

from crowdwisdomtrading import Client

Client().daily_sentiment("NVDA")       # today's crowd score
Client().weekly_sentiment("NVDA")      # this week's
# {"data": {"cycle": "weekly", "week_of": "2026-11-02", "score": 42.0, "value": 0.42, "direction": "BULLISH",
#           "confidence": 70, "mentions": 380, "sources_included": ["youtube", "x", "reddit"]}, ...}

No key, no wallet. One crowd score from YouTube, X, StockTwits, Reddit, brokers, podcasts and newsletters: of the people who took a side, long versus short (-100 to +100). Direction, confidence and the score per source are paid. 50 free calls a day per IP address for each (daily and weekly counted separately), any tickers.

What it costs

Call Price What you get
daily_sentiment(ticker) free Today's ProCrowdSentimentScore (-100 to +100) and ProTraders (distinct traders behind it; low_coverage under 10)
weekly_sentiment(ticker) free The same for the week (newest Monday)
consensus(ticker) $0.10 The score per source (YouTube, X, Reddit, brokers, podcasts, newsletters), mention breakdown, point-in-time history (as_of)
setup_latest(ticker) $0.50 Newest setup: direction, entry, 2 targets, 2 stops, confidence, risk/reward
setups_today() $10.00 Every setup of the newest day
crowdmap(ticker) $0.30 CrowdMap, the crowd's support / resistance levels, newest day: every level, role, trader count, impact, horizons
history(ticker, from, to) $0.10 Up to 200 past setups, as published at the time (backtest-safe)
catalog(), sample() free Price list; one setup at least 7 days old

Live prices: https://api.crowdwisdomtrading.com/x402/catalog.

Paying

Mode Set What it uses
wallet (pay per call) X402_WALLET_PRIVATE_KEY=0x... with USDC on Base /x402/* routes, receipt (tx hash) on every answer
key (plan) CWT_API_KEY=cwt_live_... /v1/* routes you already pay for monthly

A key wins over a wallet. Fund the wallet with small amounts; the exact scheme pays only the quoted price and nothing else.

Use

from crowdwisdomtrading import Client

c = Client()                                   # reads the env vars above
c.daily_sentiment("NVDA")                      # free
c.weekly_sentiment("NVDA")                     # free
c.catalog()                                    # free: prices, schemas, examples
c.sample()                                     # free: one setup at least 7 days old
c.consensus("NVDA")                            # {"data": {"value": 0.42, "direction": "BULLISH", ...}, "as_of": ...}
c.consensus("NVDA", as_of="2026-11-04")        # point-in-time: latest session on or before that day
c.setup_latest("NVDA")                         # direction, last_close, targets, stops, confidence, rr
c.setups_today()
c.crowdmap("NVDA")                             # CrowdMap: crowd support / resistance levels
c.history("NVDA", "2026-10-01", "2026-10-31")  # only rows published by `to` (backtest-safe)
c.last_receipt                                 # {"transaction": "0x...", "payer": ..., "network": ...} in wallet mode

Every answer is {"data": ..., "as_of": ..., "meta": {...}}. Answers with as_of / to are cached on disk (~/.crowdwisdomtrading/cache), live answers for 10 minutes, so a backtest pays once per (ticker, date). Errors are never cached. Client(cache=False) disables it.

ai-hedge-fund

# hedge_fund/signals/__init__.py
from crowdwisdomtrading.aihf import CrowdConsensusModel
ALPHA_MODEL_REGISTRY["crowd"] = CrowdConsensusModel
# hedge_fund/strategies/crowd-tilt.yaml
name: crowd-tilt
display_name: Crowd Tilt
models:
  - name: crowd
    weight: 1.0
  - name: pead
blend:
  mode: long_short
  method: conviction_weighted
  gross_target: 1.0

CrowdConsensusModel.predict(ticker, date, data_client) returns a Signal with value in [-1, +1] (crowd score / 100), components per source, and abstains (value 0, metadata.abstained) when the latest crowd session is older than 10 days. It only asks for sessions dated on or before date.

Command line

crowdwisdomtrading daily NVDA                   # free
crowdwisdomtrading weekly NVDA                  # free
crowdwisdomtrading catalog
crowdwisdomtrading consensus NVDA --as-of 2026-11-04
crowdwisdomtrading history NVDA --from 2026-10-01 --to 2026-10-31

Notes

Metadata

Release files for crowdwisdomtrading 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crowdwisdomtrading 0.2.0
File Size Uploaded Provenance Actions
crowdwisdomtrading-0.2.0.tar.gz 18.1 kB Without provenance Details for crowdwisdomtrading-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crowdwisdomtrading 0.2.0
File Interpreter ABI Platform Actions
crowdwisdomtrading-0.2.0-py3-none-any.whl Python 3 none any Details for crowdwisdomtrading-0.2.0-py3-none-any.whl

Total release size: 31.2 kB

Release files / crowdwisdomtrading-0.2.0.tar.gz

Download URL crowdwisdomtrading-0.2.0.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
042234c6e8589433c591f330b6a01ab98a3b0884a405e9917b45aa8fe223179a
BLAKE2b-256 checksum
How to use checksums
3432e655019d3f66c3b4a44beca06c6f2fd333602f1ea00f37ccb20c5aa31134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / crowdwisdomtrading-0.2.0-py3-none-any.whl

Download URL crowdwisdomtrading-0.2.0-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93f08089712e5d586667b341b6f5760170ca1759868bc2041b26956948428163
BLAKE2b-256 checksum
How to use checksums
559fa35f305db0e35cb928daf0529cef88134ca3c44384aaeea3c65830bceb8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Security for crowdwisdomtrading 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page