Introduction¶
Nubra API is your gateway to seamless integration with Nubra's trading infrastructure. Our API is designed to empower developers, algorithmic traders, and institutions with programmatic access to core trading functionalities including order management, account information, market data, and more.
Currently, we offer a Python SDK that provides a high-level, intuitive interface to interact with Nubra's trading services. This SDK is ideal for building trading strategies, automation scripts, or custom trading applications using Python.
In addition to the SDK, we also provide a set of REST APIs.
Stay tuned for upcoming releases — and thank you for building with Nubra!
Features¶
- Easy-to-use Python interface
- Comprehensive market data access
- Real-time quotes and updates
- Historical data retrieval
- Option chain analysis
- And more...
Getting Started¶
Prerequisites: Setting Up Your Environment¶
To use the Nubra Trading API, you'll need to set up your system with the following tools:
1. Install Visual Studio Code (VS Code)¶
This is your code editor for writing and running Python code. https://code.visualstudio.com/download
Once installed, open it and install the Python extension (search for "Python" in the Extensions tab on the left sidebar).
2. Install Python¶
Python is the programming language you'll use to write API scripts. https://www.python.org/downloads/
Make sure to check the box "Add Python to PATH" before installing (very important on Windows).
After installation, confirm it's installed:
For Mac: Open Terminal and run:
python3 --version
For Windows: Open Command Prompt and run:
python --version
You should see something like Python 3.x.x.
Installation¶
To get started with the Nubra Python SDK, you'll need to:
- Install the SDK package
- Set up authentication
- Initialize the client
- Start making API calls
Install the SDK using pip:
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple nubra-sdk
For mac
pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple nubra-sdk
Support¶
If you encounter any issues or have questions, please email us at support@nubra.io