Skip to content

Commit 072e3ce

Browse files
author
www-data
committed
Automated push from server made by Jared Broad
1 parent 777914b commit 072e3ce

File tree

1 file changed

+30
-5
lines changed

1 file changed

+30
-5
lines changed

08 Meta/01 Creating BootCamp Tutorials/06 Writing a Lesson.html

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p>
2-
Writing a bootcamp lesson starts by carefully writing out the complete code for the strategy, after this you can break it into tasks, and write small text summaries for each task with the documentation required to teach the reader how to complete the task.
2+
Writing a BootCamp lesson starts by carefully writing out the complete code for the strategy, breaking it into tasks, and write small text summaries for each task with the documentation required to teach the reader how to complete the task.
33
</p>
44

55
<style>
@@ -63,7 +63,7 @@
6363

6464
<h4>1. Write Lesson Algorithm</h4>
6565
<p>
66-
Writing a bootcamp lesson starts by carefully writing out the complete code for the strategy. This should be drafted as simply as possible to ensure each task the student needs to complete will only be 2-5 lines of code.
66+
Writing a BootCamp lesson starts by carefully writing out the complete code for the strategy. This should be drafted as simply as possible to ensure each task the student needs to complete will only be 2-5 lines of code.
6767
<p>
6868
Readability is critical and the code should be well commented with descriptive variable names. Depending on the complexity of the algorithm sometimes its more readable to use string tickers instead of class variables.
6969
</p>
@@ -79,16 +79,41 @@ <h4>
7979
2. Write Task Guides
8080
</h4>
8181
<p>
82-
Each task has a short write up to explain the features need to complete next step of the BootCamp task. This guide should assume the student has no prior knowledge and include representitive code snippets demonstrating the key API code needed.
82+
Each task has a short write-up to explain the features needed to complete the next task of BootCamp. This write-up should assume the student has no prior knowledge and include representative code snippets demonstrating the key API code needed.
8383
</p>
8484
<table class="table">
8585
<thead>
86-
<tr><th style="width: 20%">Style</th><th>Code Tag</th></tr>
86+
<tr><th style="width: 16%">Style</th><th>Example Code Tag</th></tr>
8787
</thead>
8888
<tbody>
8989
<tr>
9090
<td><p>Headings</p></td>
9191
<td><pre class="prettyprint">&lt;h4&gt;Initializaing Algorithms&lt;/h4&gt;</pre> </td>
9292
</tr>
93+
<tr>
94+
<td><p>Paragraphs</p></td>
95+
<td><pre class="prettyprint">&lt;p&gt;Setting cash is done with &lt;span class="python"&gt;self.SetCash().&lt;/span&gt;&lt;/p&gt;</pre> </td>
96+
</tr>
97+
<tr>
98+
<td><p>Code Snippets</p></td>
99+
<td><pre class="prettyprint">&lt;pre class="prettyprint python"&gt;self.SetCash()&lt;/pre&gt;</pre> </td>
100+
</tr>
93101
</tbody>
94-
</table>
102+
</table>
103+
<p>
104+
For a fluent experience between lessons, all content should follow the same structure as the sections laid out below.
105+
</p>
106+
<p>
107+
<img style="width: 33%; float: left; margin-right: 40px;" src="https://cdn.quantconnect.com/bootcamp/i/20190714-bootcamp-task-content-structure.png"/>
108+
109+
Tasks start their contents divided by subtitle using the <code>h4</code> tag. Use a short title about the specific API or content you're trying to summarize. <br/><br/>
110+
111+
After each heading, write a short paragraph concisely summarizing the content in as few words as possible. Use inline <code>&lt;code&gt;</code> blocks to highlight API syntax, and links to new tabs referencing any documentation required. <br/><br/>
112+
113+
Any content which is specific to one programming language should be wrapped in a span tag with the language set in the class, for example: <code>&lt;span class="python"&gt;</code>.
114+
115+
Each section should include a code snippet of documentation using a <code>&lt;pre class="prettyprint"&gt;</code> code block. <br/><br/>
116+
117+
Finally, each task should define 2-4 objectives to achieve in the task. These tasks should guide the user on the required steps to implement the strategy step. At the end of the task, there should be a measurable output that the system can use to judge if the task is a success. This can be a state change of the algorithm, a debug/log statement, or a trade. This will be covered in the next section, <em>Code Validators</em>.
118+
</p>
119+

0 commit comments

Comments
 (0)