Skip to content

eli-front/kalshi-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kalshi Go Client

A Go client library for seamless integration with the Kalshi prediction markets API.

Installation

go get github.com/eli-front/kalshi-go

Usage

Import the package in your Go code:

import "github.com/eli-front/kalshi-go"

Environment Setup

  1. Create your environment file by copying the example:

    cp .env.example .env
  2. Fill in your API key and secret in the .env file.

    • If you're using demo credentials, set DEMO=true to avoid authentication errors (401).

Examples

Run the balance example:

go run ./examples/balance

The examples support command-line flags:

# Specify a custom environment file
go run ./examples/balance --env .custom.env

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages