
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
cnhkmcp
Advanced tools
A comprehensive Model Context Protocol (MCP) server for quantitative trading platform integration
A comprehensive Model Context Protocol (MCP) server for quantitative trading platform integration. This package provides a complete set of tools for interacting with quantitative trading APIs, managing simulations, and accessing financial data.
pip install cnhkmcp
from cnhkmcp import BrainApiClient
# Initialize client
client = BrainApiClient()
# Authenticate
await client.authenticate("your_email@example.com", "your_password")
# Create a simulation
simulation_data = {
"type": "REGULAR",
"settings": {
"instrumentType": "EQUITY",
"region": "USA",
"universe": "TOP3000"
},
"regular": "your_alpha_formula"
}
result = await client.create_simulation(simulation_data)
print(f"Simulation created: {result}")
pythonmcp.py)forum_functions.py)from cnhkmcp import authenticate
result = await authenticate("email@example.com", "password")
print(f"Authentication status: {result}")
from cnhkmcp import create_simulation
result = await create_simulation(
type="REGULAR",
instrument_type="EQUITY",
region="USA",
universe="TOP3000",
regular="your_alpha_formula_here"
)
from cnhkmcp import get_alpha_details
alpha_info = await get_alpha_details("alpha_id_here")
print(f"Alpha details: {alpha_info}")
from cnhkmcp import search_forum_posts
results = await search_forum_posts(
email="email@example.com",
password="password",
search_query="alpha formula"
)
The package supports configuration through JSON files:
user_config.json: User-specific settingsbrain_config.json: Platform configurationMIT License
Contributions are welcome! Please feel free to submit a Pull Request.
For support and questions, please refer to the documentation or create an issue in the repository.
FAQs
A comprehensive Model Context Protocol (MCP) server for quantitative trading platform integration
The pypi package cnhkmcp receives a total of 796 weekly downloads. As such, cnhkmcp popularity was classified as not popular.
We found that cnhkmcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.