{"repo":"arvchahal/kalshi-rs","free":true,"listed":false,"github":"https://github.com/arvchahal/kalshi-rs","clone":"git clone https://github.com/arvchahal/kalshi-rs.git","description":"A fully supported kalshi sdk integrating over 50 kalshi api endpoints with websocket support","language":"Rust","stars":34,"topics":["kalshi","kalshi-api","rust","trading","websockets"],"license":"MIT","category":"trading","readme_excerpt":"kalshi-rs A fast, strongly-typed Rust SDK for the Public Kalshi API with almost all endpoints supported. Overview kalshi-rs is a Rust client that mirrors the structure and behavior of the official Kalshi Python SDK https://docs.kalshi.com/sdks/python/quickstart This means: method names match the Python SDK whenever possible request/response structures follow the same shape authentication and request signing work exactly like the official version examples from the Python docs can be translated to Rust easily If you’ve used Kalshi’s Python SDK, the Rust version will feel immediately familiar. The crate supports: authentication using your Kalshi API key & PEM private key listing and querying markets retrieving orderbooks, trades, candlesticks creating, canceling, and managing orders fetching portfolio and positions error handling consistent with Kalshi’s API responses websocket endpoints for continous data streaming and trading The best way to get started is to look at the examples below, the examples in the examples directory and in the quickstart guide and for contirbutions and understanding how the repo is structured the /src readme Installation Add the crate to your project: Quickstart Example Placing and Canceling an Order Running Tests Several tests interact with the real Kalshi API. You must set your environment variables: You can generate these keys from the Kalshi dashboard: API Keys Setup: API keys setup Then run: Tests involving trading endpoints will make real reques","default_branch":null,"files":null,"tree":[],"storefront":"/r/arvchahal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/arvchahal/kalshi-rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}