Skip to main content
edited body
Source Link
chjortlund
  • 670
  • 5
  • 10

If your goal is to just send basic commands, and avoid rewriting you models, I suggest you to create a PID server in combination with a web/JavaScript site as GUI.

The PID server monitors the PID’s of the strategies running on the server and executes the commands as they come. The server could consist of a webserver listening on port 8888 with a simple JSON interface, to make it super flexible.

Get a nice ‘Admin Panel’ on http://themeforest.net, and you are all set!

GoogGood practices regarding security:

  1. Only allow JSON posts to the PID server from the webservers IP.
  2. Use validation of the incoming commands, so the PID server cannot be used to take over the strategy server.
  3. Encrypt the commands being send back and forth.

Getting up to speed

It's a really simple implementation, basically just a webserver that feeds your models the desired commands through the CMD.

C# Process class

C# webserver example

Be aware! I found the two links just now, and I do not guarantee the quality of code in the webserver.

If your goal is to just send basic commands, and avoid rewriting you models, I suggest you to create a PID server in combination with a web/JavaScript site as GUI.

The PID server monitors the PID’s of the strategies running on the server and executes the commands as they come. The server could consist of a webserver listening on port 8888 with a simple JSON interface, to make it super flexible.

Get a nice ‘Admin Panel’ on http://themeforest.net, and you are all set!

Goog practices regarding security:

  1. Only allow JSON posts to the PID server from the webservers IP.
  2. Use validation of the incoming commands, so the PID server cannot be used to take over the strategy server.
  3. Encrypt the commands being send back and forth.

Getting up to speed

It's a really simple implementation, basically just a webserver that feeds your models the desired commands through the CMD.

C# Process class

C# webserver example

Be aware! I found the two links just now, and I do not guarantee the quality of code in the webserver.

If your goal is to just send basic commands, and avoid rewriting you models, I suggest you to create a PID server in combination with a web/JavaScript site as GUI.

The PID server monitors the PID’s of the strategies running on the server and executes the commands as they come. The server could consist of a webserver listening on port 8888 with a simple JSON interface, to make it super flexible.

Get a nice ‘Admin Panel’ on http://themeforest.net, and you are all set!

Good practices regarding security:

  1. Only allow JSON posts to the PID server from the webservers IP.
  2. Use validation of the incoming commands, so the PID server cannot be used to take over the strategy server.
  3. Encrypt the commands being send back and forth.

Getting up to speed

It's a really simple implementation, basically just a webserver that feeds your models the desired commands through the CMD.

C# Process class

C# webserver example

Be aware! I found the two links just now, and I do not guarantee the quality of code in the webserver.

added 471 characters in body
Source Link
chjortlund
  • 670
  • 5
  • 10

If your goal is to just send basic commands, and avoid rewriting you models, I suggest you to create a PID server in combination with a web/JavaScript site as GUI.

The PID server monitors the PID’s of the strategies running on the server and executes the commands as they come. The server could consist of a webserver listening on port 8888 with a simple JSON interface, to make it super flexible.

Get a nice ‘Admin Panel’ on http://themeforest.net, and you are all set!

Goog practices regarding security:

  1. Only allow JSON posts to the PID server from the webservers IP.
  2. Use validation of the incoming commands, so the PID server cannot be used to take over the strategy server.
  3. Encrypt the commands being send back and forth.

Getting up to speed

It's a really simple implementation, basically just a webserver that feeds your models the desired commands through the CMD.

C# Process class

C# webserver example

Be aware! I found the two links just now, and I do not guarantee the quality of code in the webserver.

If your goal is to just send basic commands, and avoid rewriting you models, I suggest you to create a PID server in combination with a web/JavaScript site as GUI.

The PID server monitors the PID’s of the strategies running on the server and executes the commands as they come. The server could consist of a webserver listening on port 8888 with a simple JSON interface, to make it super flexible.

Get a nice ‘Admin Panel’ on http://themeforest.net, and you are all set!

Goog practices regarding security:

  1. Only allow JSON posts to the PID server from the webservers IP.
  2. Use validation of the incoming commands, so the PID server cannot be used to take over the strategy server.
  3. Encrypt the commands being send back and forth.

If your goal is to just send basic commands, and avoid rewriting you models, I suggest you to create a PID server in combination with a web/JavaScript site as GUI.

The PID server monitors the PID’s of the strategies running on the server and executes the commands as they come. The server could consist of a webserver listening on port 8888 with a simple JSON interface, to make it super flexible.

Get a nice ‘Admin Panel’ on http://themeforest.net, and you are all set!

Goog practices regarding security:

  1. Only allow JSON posts to the PID server from the webservers IP.
  2. Use validation of the incoming commands, so the PID server cannot be used to take over the strategy server.
  3. Encrypt the commands being send back and forth.

Getting up to speed

It's a really simple implementation, basically just a webserver that feeds your models the desired commands through the CMD.

C# Process class

C# webserver example

Be aware! I found the two links just now, and I do not guarantee the quality of code in the webserver.

Source Link
chjortlund
  • 670
  • 5
  • 10

If your goal is to just send basic commands, and avoid rewriting you models, I suggest you to create a PID server in combination with a web/JavaScript site as GUI.

The PID server monitors the PID’s of the strategies running on the server and executes the commands as they come. The server could consist of a webserver listening on port 8888 with a simple JSON interface, to make it super flexible.

Get a nice ‘Admin Panel’ on http://themeforest.net, and you are all set!

Goog practices regarding security:

  1. Only allow JSON posts to the PID server from the webservers IP.
  2. Use validation of the incoming commands, so the PID server cannot be used to take over the strategy server.
  3. Encrypt the commands being send back and forth.