-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from nautechsystems/develop
Develop
- Loading branch information
Showing
85 changed files
with
1,423 additions
and
988 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,36 @@ | ||
Deploying Live | ||
============== | ||
============== | ||
|
||
*** This documentation is currently a work in progress *** | ||
|
||
Encryption | ||
---------- | ||
|
||
For effective remote deployment of a live `TradingNode` which needs to access remote services, | ||
encryption keys must be user generated. The currently supported encryption scheme is that which is built | ||
into ZeroMQ being Curve25519 elliptic curve algorithms. This allows perfect forward security with | ||
ephemeral keys being exchanged per connection. The public `server.key` must be shared with the trader | ||
ahead of time and contained in the `keys\` directory (see below). | ||
|
||
To generate a new client key pair from a python console or .py run the following; | ||
|
||
.. code-block:: | ||
|
||
from pathlib import Path | ||
|
||
import zmq.auth | ||
|
||
keys_dir = 'path/to/your/keys' | ||
Path(keys_dir).mkdir(parents=True, exist_ok=True) | ||
|
||
zmq.auth.create_certificates(keys_dir, 'client') | ||
|
||
Live Deployment | ||
--------------- | ||
|
||
The user must assemble a directory including the following; | ||
|
||
- `config.json` for configuration settings | ||
- `keys/` directory containing the `client.key_secret` and `server.key` | ||
- `launch.py` referring to the strategies to run | ||
- trading strategy python or cython files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,4 +146,3 @@ Index | |
|
||
resources/research | ||
resources/further_reading | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.