
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@treno.solutions/finance-sdk
Advanced tools
Official TypeScript SDK for the Treno Finance API.
Auto-generated from our OpenAPI spec with hand-written additions for session-authenticated endpoints (risk catalogue).
npm install @treno-solutions/finance-sdk
import {
Configuration,
PortfoliosApi,
AccountsApi,
ReportsApi,
} from '@treno-solutions/finance-sdk';
const config = new Configuration({
basePath: 'https://app.treno.finance/api',
fetchApi: (url, init) => {
const u = new URL(url);
u.searchParams.set('api-key', 'YOUR_API_KEY');
return fetch(u.toString(), init);
},
});
const portfolios = new PortfoliosApi(config);
const result = await portfolios.getPortfolios();
| Class | Description |
|---|---|
AccountsApi | Asset account management (wallets, virtual accounts) |
AnnotationsApi | Transaction annotations and notes |
ExportApi | Data export (CSV, Excel) |
InvestmentsApi | Investment tracking and DCA strategies |
LendingApi | DeFi lending market data and yields |
MarketApi | Market data, prices, forex, benchmarks |
PortfoliosApi | Portfolio management, positions, transactions, capital flows |
PublicApi | Public market data (no auth required) |
ReportsApi | Performance reports, tax reports, statement reports |
TagsApi | Portfolio tags and categorization |
UsersApi | User info and subscription management |
For risk catalogue endpoints that use session-based authentication:
import {
createRiskCatalogueSessionClient,
} from '@treno-solutions/finance-sdk';
const riskClient = createRiskCatalogueSessionClient(
'https://app.treno.finance/api',
'YOUR_API_KEY',
);
const risks = await riskClient.getRiskCatalogue({ categories: ['FINANCIAL'] });
| Option | Description | Default |
|---|---|---|
basePath | API base URL | https://app.treno.finance/api |
fetchApi | Custom fetch function (inject auth headers/params here) | Native fetch |
fetch)MIT
FAQs
Official TypeScript SDK for the Treno Finance API
We found that @treno.solutions/finance-sdk 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
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.