Skip to content

Mvp setup#2

Open
zbailey83 wants to merge 4 commits intoashercn97:mainfrom
zbailey83:mvp-setup
Open

Mvp setup#2
zbailey83 wants to merge 4 commits intoashercn97:mainfrom
zbailey83:mvp-setup

Conversation

@zbailey83
Copy link
Copy Markdown

No description provided.

This change introduces a unified SDK for prediction markets, starting with Kalshi and Polymarket.

Key changes include:
- Defined core data models for `Question` and `Contract`.
- Refactored the Kalshi and Polymarket REST clients to use the new core data models.
- Added a `UnifiedClient` to interact with both platforms through a single interface.
- Updated `main.py` with an example of how to use the `UnifiedClient`.
- Added unit tests for the core data models and the `UnifiedClient`.
This change introduces a unified SDK for prediction markets, starting with Kalshi and Polymarket.

Key changes include:
- Defined core data models for `Question` and `Contract`.
- Refactored the Kalshi and Polymarket REST clients to use the new core data models.
- Added a `UnifiedClient` to interact with both platforms through a single interface.
- Updated `main.py` with an example of how to use the `UnifiedClient`.
- Added unit tests for the core data models and the `UnifiedClient`.
This change updates the `README.md` file to reflect the new `UnifiedClient` API. It also exposes the `UnifiedClient` in the top-level `__init__.py` file.
This change introduces the initial frontend and API for the prediction market screener dashboard.

Key changes include:
- A new `dashboard` directory containing a Vite and React frontend.
- A new `api` directory containing a FastAPI server to wrap the `predmarket` library.
- A basic UI layout with a header, sidebar, and main content area.
- UI components to display questions and contracts.
- Logic to connect the frontend to the API.

Note: The frontend is not yet fully functional and is unable to fetch data from the API. Further debugging is required in a browser environment.
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

Successfully merging this pull request may close these issues.

1 participant