-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f05781
commit e9e822c
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
05 Lean CLI/05 Datasets/10 Terminal Link/04 Optimization.html
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 +1,19 @@ | ||
<p>Follow these steps to run a local optimization job with data from Bloomberg DAPI through Terminal Link:</p> | ||
|
||
<ol> | ||
<li>Add some <a href='/docs/v2/lean-cli/optimization/parameters'>parameters</a> to your project.</li> | ||
|
||
<li>Open a terminal in your <a href='/docs/v2/lean-cli/initialization/organization-workspaces'>organization workspace</a>.</li> | ||
|
||
<li>Run <code>lean optimize <projectName> --data-provider-historical "Terminal Link" --terminal-link-connection-type DAPI --terminal-link-environment <environment> --terminal-link-server-host <serverHost> --terminal-link-server-port <serverPort> --terminal-link-emsx-broker <emsxBroker> --terminal-link-openfigi-api-key <openfigiApiKey></code>.</li> | ||
<div class="cli section-example-container"> | ||
<pre>$ lean optimize "My Project" --data-provider-historical "Terminal Link" --terminal-link-connection-type DAPI --terminal-link-environment Production --terminal-link-server-host serverHost --terminal-link-server-port serverPort --terminal-link-emsx-broker emsxBroker --terminal-link-openfigi-api-key openfigiApiKey</pre> | ||
</div> | ||
|
||
<li>Follow <a href='/docs/v2/lean-cli/optimization/deployment#02-Run-Local-Optimizations'>the steps in the interactive wizard</a> to configure your optimization job settings.</li> | ||
</ol> | ||
|
||
<p> | ||
The <code>lean optimize</code> command also accepts additional <a href='/docs/v2/lean-cli/api-reference/lean-backtest#04-Options'>options</a> so that you can select Terminal Link and run the command in non-interactive mode. | ||
If you provide any of the preceding options, your <a href='/docs/v2/lean-cli/initialization/configuration#03-Lean-Configuration'>Lean configuration file</a> saves them so that you only need to run <code>lean optimize <projectName></code> to run another optimization job with the same options. | ||
</p> |