UAT & LIVE Environments FAQs¶
Below are the most common questions related to Nubra’s UAT sandbox environment, LIVE production environment, differences between them, environment switching, KYC sync issues, and UAT execution behavior. Click any question to expand the detailed answer.
Environment Comparison & Scope¶
What is the difference between Nubra’s UAT and LIVE environments?
Nubra provides two distinct environments — UAT (User Acceptance Testing) and LIVE.
-
UAT (Sandbox Environment):
A safe, simulated environment designed for developers and traders to test code, validate API integrations, and practice trading workflows without any real financial risk.
Orders here are not sent to the exchange but matched internally by Nubra’s simulation engine. -
LIVE (Production Environment):
This environment connects directly to the exchange, executing real trades with real capital.
Only tested and verified strategies should be deployed here.
It’s strongly recommended that you develop and validate all trading logic in UAT first before moving to the LIVE environment.
What are the known UAT differences vs LIVE?
| Aspect | UAT Environment | LIVE Environment |
|---|---|---|
| Order Execution | Simulated (internal matching engine) | Real-time exchange execution |
| Funds & Positions | Virtual, not linked to real account | Real trading funds & positions |
| Latency & Speed | Simulated | Actual exchange latency |
| KYC / Compliance | Simplified replication | Fully verified |
| Risk Checks | Soft validation | Real exchange risk checks |
UAT Credentials & Trading Behavior¶
How do I create and use UAT credentials?
To access the UAT environment, you need to generate dedicated UAT credentials from your Nubra dashboard.
Steps:
- Log in to nubra.io
- Navigate to Account Settings → Set up UAT Credentials
- Your UAT account will use the same registered mobile number as your LIVE account
- Note your MPIN (visible in the UAT credentials section)
Once created, initialize the SDK in UAT mode:
from nubra_python_sdk.start_sdk import InitNubraSdk, NubraEnv
nubra = InitNubraSdk(NubraEnv.UAT)
Switch to LIVE by replacing NubraEnv.UAT with NubraEnv.PROD.
How realistic are order fills in the UAT environment?
UAT runs on Nubra’s internal matching engine, designed to replicate NSE’s price–time priority logic.
- Orders fill based on simulated availability
- Matching logic mirrors live exchanges
- Latency & flow resemble live, but
- Liquidity and slippage are not identical to live markets
UAT is ideal for logical testing, not latency benchmarking.
Should UAT show only UAT positions (not LIVE positions)?
Currently, UAT may display positions from both UAT and LIVE.
This occurs because the portfolio service aggregates positions at the account level, and isolation is still being refined.
How to distinguish them:
- Track positions via UAT order IDs (different sequence format)
- Filter positions client-side based on UAT session activity
Nubra is actively working on environment segregation so UAT will show only UAT positions soon.
For help with reconciliation or early access to segregation, contact support@nubra.io.
Setup & Troubleshooting¶
How do I switch my SDK between UAT and LIVE?
Switching environments is simple using the NubraEnv flag:
from nubra_python_sdk.start_sdk import InitNubraSdk, NubraEnv
# For testing
nubra = InitNubraSdk(NubraEnv.UAT)
# For production
nubra = InitNubraSdk(NubraEnv.PROD)
For REST APIs, switch the base URL and use the corresponding credentials.
What happens if KYC data is missing or unsynced in UAT?
If your KYC data isn’t synced between LIVE and UAT, UAT authentication may fail.
This occurs because UAT runs on a separate sandbox database, and your live profile is not replicated until you generate UAT Credentials.
Fix:
- Go to Account Settings → API Credentials
- Under UAT Credentials, click Generate Credentials
- This creates a sandbox profile and UAT MPIN
-
Reinitialize SDK in UAT mode:
nubra = InitNubraSdk(NubraEnv.UAT) -
Retry your UAT requests
UAT will sync essential profile/KYC details automatically.
If issues persist, contact support@nubra.io for a manual reset.
Important:
UAT and LIVE may use different MPINs. Keep them separate in your .env.
Continue exploring related FAQs¶
Click any category to navigate directly to its FAQ group.
General
Onboarding, basics, and core concepts.
Authentication & Login
OTP, TOTP, token lifecycle, session handling, login issues.
UAT & LIVE
Environment differences, testing flows, credentials.
Instruments & Reference Data
ref_ids, expiries, master files.
Rate Limits & API Usage
REST/WebSocket caps, throttling.