Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnMarketData wont compile

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

    OnMarketData wont compile

    Hello guys,

    Im trying to compile a new strategy, I want to include OnMarketData loop, but I still get this error message:
    EPPv2.cs The type or namespace name 'MarketDataEventArgs' could not be found (are you missing a using directive or an assembly reference?) CS0246 101 40

    The code Im using is this one:

    protected override void OnMarketData(MarketDataEventArgs marketDataUpdate)
    { }

    Please help!​

    #2
    Hello facuevasm,

    Thank you for your post.

    You might be missing a using statement. Are you able to share your script for testing / see what using statements the script has?

    Comment


      #3
      That was the issue. Thank you Gaby!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      135 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      69 views
      0 likes
      Last Post PaulMohn  
      Working...
      X