Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

not loading their Market Cap

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    not loading their Market Cap

    Problem Description: Certain companies are not loading their Market Cap correctly and it is affecting my strategy.

    I attach a screen from the Market Analyzer where you can see that it does not load the information, and consequently my code does not either.



    // Buscamos el Market Cap de las Empresas
    protected override void OnFundamentalData(Data.FundamentalDataEventArgs fundamentalDataUpdate)
    {
    // Verifica si los datos son válidos y si es el Market Cap
    if (fundamentalDataUpdate.IsReset)
    return;

    string symbol = fundamentalDataUpdate.Instrument.FullName;

    // Almacenar la capitalización de las 100 de NQ
    if (fundamentalDataUpdate.FundamentalDataType == FundamentalDataType.MarketCap && fundamentalDataUpdate.DoubleValue > 0)
    {


    // Si el símbolo pertenece al Nasdaq 100
    if (nasdaq100Symbols.Contains(symbol))
    {
    // Capturar el Market Cap para el Nasdaq 100
    if (nasdaq100MarketCap.ContainsKey(symbol))
    {
    nasdaq100MarketCap[symbol] = fundamentalDataUpdate.DoubleValue; // Actualizar Market Cap
    }
    else
    {
    nasdaq100MarketCap.Add(symbol, fundamentalDataUpdate.DoubleValue); // Agregar si no existe
    }

    // Imprimir solo una vez la capitalización del Nasdaq 100
    if (!marketCapPrintedNasdaq100.ContainsKey(symbol) || !marketCapPrintedNasdaq100[symbol])
    {
    // Contador del número de empresas procesadas
    int processedCount = nasdaq100MarketCap.Count;
    Print($"[{processedCount}/{nasdaq100Symbols.Count}] Market Cap de {symbol}: {nasdaq100MarketCap[symbol]}");
    marketCapPrintedNasdaq100[symbol] = true; // Marcar como impreso

    CompareSymbolsWithMarketCap();
    }
    }
    }

    }​
    Attached Files

    #2
    Hello HGTrader,

    Thank you for your post.

    If you are not getting data for these instruments, I suggest first reaching out to your data provider to verify you should be enabled for data on the instruments not loading data in the Market Analyzer.

    Please let us know if you have any further questions.

    Comment


      #3
      Perfect, I already sent an email to Kinetick and I'll let him know.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, Yesterday, 10:06 AM
      0 responses
      22 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      19 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      14 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      10 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      41 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X