Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Notified when AddOn when state of Global Sim Mode changes?

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

    Notified when AddOn when state of Global Sim Mode changes?

    I know how to check Core.Globals.TradingOptions.IsGlobalSimulationMode for its state, but it would be helpful to know when it has changed for updating parts of my UI.

    I can't seem to find any callbacks/events for this. How do I do this?

    #2
    Hello carnitron,

    I am not aware of any callback event for that, it would be suggested to add some kind of polling logic to your script if you need to detect the state more frequently than when your script is opened.

    Comment


      #3
      I have figured out a way around this in my UI. (Polling could work, but it's not a super elegant or even correct solution in my situation.) Can we log a feature request for a notification event?

      Comment


        #4
        Hello carnitron,

        I will put in a note to development about that. For now you will need to use your workaround or polling.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        22 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        120 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        63 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        41 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        45 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X