/**
 * Interactive Brokers Configuration Constants
 */

export const IB_CONFIG = {
  BASE_URL: 'https://www.interactivebrokers.com',
  PRODUCTS_PAGE: '/en/trading/products-exchanges.php#/',
  EXCHANGE_API: '/webrest/exchanges',
  SUMMARY_API: '/webrest/search/product-types/summary',
  PRODUCTS_API: '/webrest/search/products-by-filters',

  // Browser configuration
  BROWSER_TIMEOUT: 10000,
  PAGE_LOAD_TIMEOUT: 20000,
  ELEMENT_TIMEOUT: 5000,
  HEADERS_TIMEOUT: 30000,

  // API configuration
  DEFAULT_PROXY: 'http://doimvbnb-US-rotate:w5fpiwrb9895@p.webshare.io:80',
  PAGE_SIZE: 500,
  PRODUCT_COUNTRIES: ['CA', 'US'],
  PRODUCT_TYPES: ['STK'],
};
