MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Trading module

    Scheduled Pinned Locked Moved Requests
    25 Posts 4 Posters 14.5k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      plumcraft
      last edited by

      Hello,

      It could be nice to have a trading module which display like CAC40, EuroStock 50, instruments you’re following.

      I’ve tried to find a good public trading api but no luck for now…

      Anyone interested ?

      Thanks

      R 1 Reply Last reply Reply Quote 2
      • R Offline
        ronny3050 Module Developer @plumcraft
        last edited by

        @plumcraft I am surprised this isn’t already there! I could take a look at this.

        1 Reply Last reply Reply Quote 0
        • P Offline
          plumcraft
          last edited by

          Sure, let me know if you find something

          1 Reply Last reply Reply Quote 0
          • A Offline
            alexyak
            last edited by

            I’ve built a basic scrolling stocks ticker based on the Google APIs if you’re guys interested.

            1 Reply Last reply Reply Quote 0
            • P Offline
              plumcraft
              last edited by

              Yes, will be happy to try it !

              thks

              1 Reply Last reply Reply Quote 0
              • A Offline
                alexyak
                last edited by

                Alright I’ve just published it. Enjoy: :)

                https://forum.magicmirror.builders/topic/496/stocks

                1 Reply Last reply Reply Quote 0
                • P Offline
                  plumcraft
                  last edited by

                  I got an error when trying your module :

                  stocks.js:110 GET http://finance.google.com/finance/info?client=ig&q=.DJI,MSFT,AAPL,GOOG,INTC,CICS,TSLA,FB getStocks @ stocks.js:110start @ stocks.js:19startModules @ loader.js:55(anonymous function) @ loader.js:40stylesheet.onload @ loader.js:190
                  192.168.0.31/:1 XMLHttpRequest cannot load http://finance.google.com/finance/info?client=ig&q=.DJI,MSFT,AAPL,GOOG,INTC,CICS,TSLA,FB. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://192.168.0.31:8080’ is therefore not allowed access. The response had HTTP status code 500.

                  It might be a configuration issue on my side ?

                  Thanks

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    alexyak @plumcraft
                    last edited by

                    @plumcraft Hmm… that’s strange why you’re getting the CORS error. It works for me directly from the chromium… Where’re you running it from?

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      plumcraft
                      last edited by

                      @alexyak : I’m testing it from a remote computer and directly on my RPI , and same issue…, don’t get it :(

                      A 1 Reply Last reply Reply Quote 0
                      • A Offline
                        alexyak
                        last edited by

                        ok then the easiest solution would be to move this call to the node_helper…

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy