Skip to main content

Wisdom Capital

Wisdom Capital provides API access through the Symphony Fintech XTS platform. This guide helps you integrate Wisdom Capital with Layr0 IMC for both order execution and market data streaming.


Step 1: Create API Applications

Login to the Wisdom Capital Developer Portal.

After logging in:

  1. Go to My App > Create New Application
  2. You need to create two applications:
    • One for Interactive Order API
    • One for Market Data API

Application Setup:

For each app, fill in the following:

  • App Name: Layr0 IMC
  • App Description: Layr0 IMC
  • Select API Package: Choose Interactive Order API or Market Data API depending on the app.

Repeat the process for both API packages.

Once submitted, wait for the apps to be approved. The API status will show as Active once approved.


Step 2: Setup Environment Variables

Refer to the .sample.env file in Layr0 IMC and prepare your .env with the following structure:

# Broker Configuration
BROKER_API_KEY = 'YOUR_WISDOM_ORDER_API_KEY'
BROKER_API_SECRET = 'YOUR_ORDER_API_SECRET'

BROKER_API_KEY_MARKET = 'YOUR_WISDOM_MARKET_API_KEY'
BROKER_API_SECRET_MARKET = 'YOUR_MARKET_API_SECRET'

REDIRECT_URL = 'http://127.0.0.1:5000/wisdom/callback'

Replace placeholder values with actual credentials obtained after app approval.


Step 3: Start Layr0 IMC

Ensure .env is correctly configured and that both APIs (order and market data) are active. Then, start Layr0 IMC.

You can now place live orders and get real-time market data via Wisdom Capital’s XTS API inside Layr0 IMC.


Final Note

Integrating Layr0 IMC with Wisdom Capital's XTS API gives you access to real-time market data and order execution in a programmable environment. Follow best practices—keep your API keys secure, implement appropriate error handling, and regularly monitor your API usage to ensure a smooth trading experience.