SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    May 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Moving client side javascript algorithms to Node-JS

    Hi,

    I have build trading algorithms in javascript (fetching information using AJAX queries/PHP scripts) and which inserts/cancels orders based on the available information in client side/web browser Javascript (using Chrome).

    I would like to move this server-side, possibly NodeJS, so that I can rent a server close to the exchange (all connections are over the internet using an API), which speeds up the execution of the algorithms and so that I can turn off my computer at home.

    Is this going to be easy? What steps do I need to take in order to move the client side/web browser javascript to server side NodeJS?

    Thanks!

    Dirk

  2. #2
    SitePoint Enthusiast Dormilich's Avatar
    Join Date
    Aug 2014
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dir=k View Post
    I would like to move this server-side, possibly NodeJS, so that I can rent a server close to the exchange (all connections are over the internet using an API), which speeds up the execution of the algorithms and so that I can turn off my computer at home.
    should this work something like a cronjob?

    anyways, be prepared that you’ll have to rewrite most of your code.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •