Getting Started

Welcome to Teresa Terminal. Get up and running in minutes with our simple setup process.

Installation

npm install teresa-terminal-sdk

Install the Teresa Terminal SDK to get started with building trading applications.

Quick Setup

import { TeresaTerminal } from 'teresa-terminal-sdk' const client = new TeresaTerminal({ apiKey: 'your-api-key', environment: 'production' }) // Connect to trading terminal await client.connect()

Initialize the client with your API key and connect to the terminal.

First Trade

// Execute a simple trade const trade = await client.trade({ symbol: 'AAPL', quantity: 10, type: 'BUY', leverage: 2 }) console.log('Trade executed:', trade.id)

Execute your first trade with just a few lines of code.