Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

169 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural SDK

PyPI version Python Versions License: MIT

Deterministic prediction-market kernel for portable contracts, normalization, replay, and paper-first integration beneath Vaticor.

Documentation | Examples | Contributing

Stable Kernel

The dependency-free stable surface lives at neural.kernel. Provider access, strategy analysis, deployment, sentiment, and FIX helpers remain experimental or deprecated compatibility modules.

Install

Using uv:

uv add neural-sdk
uv add "neural-sdk[trading]"

Using pip:

pip install neural-sdk
pip install "neural-sdk[trading]"

Verify the stable installed surface without credentials or network access:

neural --json capabilities
neural --json replay demo

See Stable Kernel and Compatibility for the capability matrix, extras, and deprecation policy.

CLI Bridge

The base install ships a neural CLI intended to be the stable machine-readable bridge for the TypeScript Neural TUI.

neural doctor
neural --json capabilities
neural --json providers list

Current bridge commands:

  • doctor
  • capabilities
  • replay demo
  • providers list
  • markets list
  • quote
  • positions
  • paper order
  • deployments list
  • deployments status
  • deployments logs
  • deployments stop

Highlighted Examples

Credentials

Create a .env file with your Kalshi credentials:

KALSHI_API_KEY_ID=your_api_key_id
KALSHI_PRIVATE_KEY_BASE64=base64_encoded_private_key
KALSHI_ENV=prod

The SDK loads credentials from environment variables or your local secrets files.

Development

git clone https://github.com/IntelIP/Neural.git
cd neural
uv sync --extra dev --extra trading --extra sentiment --extra analysis --extra deployment
uv run pytest
uv run ruff check .
uv run black --check .

Testing

uv run pytest
uv run pytest --cov=neural tests/

Resources

License

This project is licensed under the MIT License. See LICENSE.

Releases

Packages

Used by

Contributors

Languages