Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Securities / Asset Classes / Future Option / Handling Data #1898

Open
jaredbroad opened this issue Sep 10, 2024 · 0 comments · May be fixed by #1913
Open

Securities / Asset Classes / Future Option / Handling Data #1898

jaredbroad opened this issue Sep 10, 2024 · 0 comments · May be fixed by #1913
Assignees

Comments

@jaredbroad
Copy link
Member

Examples

  • FIX PEP8 Bugs / l.Can

  • Example comments on all code snippets in the document.

  • Example 1: Individual: Schedule monthly select of futopt contract to trade. Add future contract. Seed. Trade.

  • Example 2: Universe: Select option in the chain to trade weekly. Add func price seeder.

Remember

  • Don't use variables that aren't defined.
  • Comment every line or few lines.
  • Include 40-100 word explanation.
  • Declare everything you need each example.
  • Copy from IDE to Docs so confirm it works. Copy-pastable examples.
  • ALWAYS make Examples.html at the end.

For the new examples in the docs:

  • There should be a sentence at the beginning of the <h3>Examples</h3>
    • <p>The following examples demonstrate some common practices for _________.</p>
  • Have 1 <h4>Example _: ____________</h4> for each Example.
    • The example should highlight the concepts that were explained on the respective documentation page.
    • Avoid creating tutorial-style content for the text. The text between should at least have a sentence that explains what the algorithm does. "The following algorithm __________:"
    • If there is an opportunity to link some of the text to other pages/sections in the docs, please link it.
    • The example should be a full algorithm in 1 code block, with conventional styling (PEP8 or typical C#; Ask Grok/ChatGPT to help you style/format the code if you need).
    • Test that you can run each example algorithm in QC Cloud w/o error before adding it to the docs.
  • If we have a list of Demonstration Algorithms, put them all under <h4>Other Examples</h4>. The sentence under that heading should read <p>For more examples, see the following algorithms:</p>
@jaredbroad jaredbroad changed the title Securities / Asset Classes / Future / Requesting Data / Individual Securities / Asset Classes / Future / Handling Data Sep 10, 2024
@jaredbroad jaredbroad changed the title Securities / Asset Classes / Future / Handling Data Securities / Asset Classes / Future Option / Handling Data Sep 10, 2024
@LouisSzeto LouisSzeto linked a pull request Sep 16, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants