KX Community

Find answers, ask questions, and connect with our KX Community around the world.

Home Forums KX Academy fundamentals capstone 3.3

  • fundamentals capstone 3.3

    Posted by Kal8na on April 10, 2024 at 2:21 pm

    I’m getting an mismatched type error for the following. I’ll share the screenshot of the source code.

    show badTrades: select from classifyTrades where exQuality = 0b

    Kal8na replied 1 month, 2 weeks ago 2 Members · 2 Replies
  • 2 Replies
  • megan_mcp

    Administrator
    April 10, 2024 at 2:58 pm

    Hi @kal8na

    I believe the problem is within your badTrades variable you do not provide the classifyTrades function with a parameter.

    To fix this, simply pass in the tradeContext table into the function:

    badTrades: select from classifyTrades[tradeContext] where exQuality = 0b;

    Let me know if this works!

    Thanks,

    Megan

  • Kal8na

    Member
    April 10, 2024 at 3:39 pm

    thank you very much. Just a small error cause a big problem😇

Log in to reply.