Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kalshi #3

Closed
PatMyron opened this issue Feb 4, 2025 · 0 comments
Closed

Kalshi #3

PatMyron opened this issue Feb 4, 2025 · 0 comments

Comments

@PatMyron
Copy link
Owner

PatMyron commented Feb 4, 2025

https://github.com/PatMyron/forecasting/settings/secrets/actions
https://api.elections.kalshi.com/trade-api/v2/markets?limit=2 (~7k open Q's ~= 10MB, ~700k Q's ~= 1GB)
https://trading-api.readme.io/reference/getmarkets (empty cursor loops)
https://trading-api.readme.io/reference/tiers-and-rate-limits-1
https://kalshi.com/fee-schedule
https://docs.cfbenchmarks.com/api/ (https://cfbenchmarks.com/about/contact)
https://debugbear.com/json-size-analyzer (28% rules_secondary, 16% rules_primary)

699211 "status": "finalized", # settled
  7543 "status": "initialized", # unopened
  6900 "status": "active", # open
  1614 "status": "closed", # closed
    95 "status": "settled", # settled
    32 "status": "inactive", # closed
    26 "status": "determined", # closed
https://api.elections.kalshi.com/trade-api/v2/markets?limit=1
{
  "markets": [
    {
      "ticker": "KXRTDAREDEVILBA-90",
      "event_ticker": "KXRTDAREDEVILBA",
      "market_type": "binary",
      "title": "Daredevil: Born Again Rotten Tomatoes score?",
      "subtitle": "Above 90::",
      "yes_sub_title": "Above 90",
      "no_sub_title": "Above 90",
      "open_time": "2025-02-04T15:00:00Z",
      "close_time": "2025-03-05T15:00:00Z",
      "expected_expiration_time": "2025-03-05T15:00:00Z",
      "expiration_time": "2025-03-12T15:00:00Z",
      "latest_expiration_time": "2025-03-12T15:00:00Z",
      "settlement_timer_seconds": 3599,
      "status": "initialized",
      "response_price_units": "usd_cent",
      "notional_value": 100,
      "tick_size": 1,
      "yes_bid": 0,
      "yes_ask": 0,
      "no_bid": 100,
      "no_ask": 100,
      "last_price": 0,
      "previous_yes_bid": 0,
      "previous_yes_ask": 0,
      "previous_price": 0,
      "volume": 0,
      "volume_24h": 0,
      "liquidity": 0,
      "open_interest": 0,
      "result": "",
      "can_close_early": true,
      "expiration_value": "",
      "category": "",
      "risk_limit_cents": 0,
      "strike_type": "greater",
      "floor_strike": 90,
      "rules_primary": "If Daredevil: Born Again has a Tomatometer score of above 90 on Mar 5, 2025 at 10:00AM ET, then the market resolves to Yes.",
      "rules_secondary": ""
    }
  ],
  "cursor": "CgwI0I-FvQYQuJDr5QESEktYUlREQVJFREVWSUxCQS05MA"
}
@PatMyron PatMyron pinned this issue Feb 4, 2025
PatMyron added a commit that referenced this issue Feb 4, 2025
#3
https://trading-api.readme.io/reference/getmarkets
https://api.elections.kalshi.com/trade-api/v2/markets?limit=2

  2M    closed.json
  5M    soon.json
  9M    open.json
 12M    unopened.json
909M    settled.json
932M    all.json
@PatMyron PatMyron closed this as completed Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant