• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.1k 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 Aug 13, 2016, 11:15 AM

    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 Aug 13, 2016, 1:56 PM Reply Quote 2
    • R Offline
      ronny3050 Module Developer @plumcraft
      last edited by Aug 13, 2016, 1:56 PM

      @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 Aug 13, 2016, 2:28 PM

        Sure, let me know if you find something

        1 Reply Last reply Reply Quote 0
        • A Offline
          alexyak
          last edited by Aug 13, 2016, 4:13 PM

          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 Aug 13, 2016, 5:22 PM

            Yes, will be happy to try it !

            thks

            1 Reply Last reply Reply Quote 0
            • A Offline
              alexyak
              last edited by Aug 14, 2016, 12:15 AM

              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 Aug 17, 2016, 4:34 PM

                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 Aug 17, 2016, 4:41 PM Reply Quote 0
                • A Offline
                  alexyak @plumcraft
                  last edited by Aug 17, 2016, 4:41 PM

                  @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 Aug 17, 2016, 4:49 PM

                    @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 Aug 17, 2016, 5:25 PM Reply Quote 0
                    • A Offline
                      alexyak
                      last edited by Aug 17, 2016, 4:52 PM

                      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
                      1 / 3
                      • First post
                        6/25
                        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