spb/vquant Public MIT
VibeQuant — AI-powered institutional-grade financial intelligence platform.
TypeScript 84.3%
Python 11.7%
JavaScript 1.6%
CSS 1.5%
HTML 0.7%
1/*2 * =============================================================================3 * VibeQuant (vquant) — AI-Powered Financial Intelligence Platform4 * -----------------------------------------------------------------------------5 * File: server/services/fmp/config.ts6 *7 * Author: Simon-Pierre Boucher8 * Contact: contact@spboucher.ai9 * Website: https://www.spboucher.ai10 * Demo: https://www.vquant.ai11 * License: MIT (see LICENSE)12 *13 * Copyright © 2026 Simon-Pierre Boucher. All rights reserved.14 * =============================================================================15 */1617import axios from 'axios';1819export const FMP_API_KEY = process.env.FMP_API_KEY;20export const FMP_BASE_URL = 'https://financialmodelingprep.com/stable';21export const FMP_V4_URL = 'https://financialmodelingprep.com/stable';2223interface FMPResponse<T> {24 data: T;25 error?: string;26}2728// Helper function to make FMP API calls29export async function fmpRequest<T>(url: string): Promise<T> {30 try {31 const response = await axios.get<T>(url);32 return response.data;33 } catch (error) {34 console.error('FMP API Error:', error);35 throw error;36 }37}38