وب سایت تخصصی شرکت فرین
دسته بندی دوره ها
2

The Complete Python Trading Bot Bootcamp (2024 Edition)

سرفصل های دوره

Algorithmic Trading on QuantConnect: Master Backtesting and Live Trading with Over 290 Practical Examples


1. Python essentials Python tutor introduction
  • 1.1 Python essentials Python tutor introduction PPT.pptx
  • 1. Introduction to Python tutor
  • 2.1 Example code.txt
  • 2. Example 1 How to use Python tutor for code execution visualization
  • 3. Example 2 How to run code in Python tutor without code execution visualization

  • 2. Python essentials Basic object types
  • 1.1 Python essentials Basic object types PPT.pptx
  • 1. Introduction
  • 2. Strings
  • 3. Integers and floats
  • 4.1 Boolean example.txt
  • 4. Booleans
  • 5. Important things to remember about basic object types

  • 3. Python essentials Variables
  • 1.1 Intro slide.txt
  • 1.2 Python essentials Variables PPT.pptx
  • 1. Introduction
  • 2.1 Quick example of how to use variables to perform mathematical operations.txt
  • 2. Quick example of how to use variables to perform mathematical operations
  • 3.1 Important 1.txt
  • 3. Important 1 Variable names cannot have spaces
  • 4.1 Important 2.txt
  • 4. Important 2 Variable names cannot have spaces but string objects can
  • 5.1 Important 3.txt
  • 5. Important 3 Python is case sensitive
  • 6.1 Important 4.txt
  • 6. Important 4 Variable names do not need to reflect what they contain
  • 7.1 Important 5.txt
  • 7. Important 5 Replacing variables
  • 8.1 Important 6.txt
  • 8. Important 6 Replacing with another variable and inheriting what it contains
  • 9.1 Important 7.txt
  • 9. Important 7 Variable names can contain but cannot start with numbers
  • 10.1 Important 8.txt
  • 10. Important 8 Variable names cannot contain special characters
  • 11.1 Important 9.txt
  • 11. Important 9 Variable names cannot be the same as function names
  • 12.1 Important 10.txt
  • 12. Important 10 Variable names can be the same as the string they contain

  • 4. Python essentials Print function
  • 1.1 Python essentials Print function PPT.pptx
  • 1. Introduction
  • 2. Example 1 Print Hello world! from a variable
  • 3. Example 2 Print Hello world! directly
  • 4. Definition of debugging
  • 5. Important note about spaces
  • 6.1 First print function code.txt
  • 6.2 Second print function code.txt
  • 6. Upsides and downsides of print function

  • 5. Python essentials Manipulating strings
  • 1.1 Python essentials Manipulating strings PPT.pptx
  • 1. Introduction
  • 2. What are methods in relation to functions
  • 3.1 Example 1.txt
  • 3. Example 1 lower() method
  • 4.1 Example 2.txt
  • 4. Example 2 upper() method
  • 5.1 Example 3.txt
  • 5. Example 3 Adding strings
  • 6.1 Example 4.txt
  • 6. Example 4 Multiplying strings
  • 7.1 Example 5.txt
  • 7. Example 5 Replacing strings after mathematical operation
  • 8.1 Example 6.txt
  • 8. Example 6 Compounding strings
  • 9.1 Example 7.txt
  • 9. Example 7 Converting integer string to integer
  • 10.1 Example 8.txt
  • 10. Example 8 Converting float string to float
  • 11. What are iterable objects
  • 12.1 Example 9.txt
  • 12. Example 9 len() function
  • 13. What is indexing
  • 14.1 Example 10.txt
  • 14. Example 10 Index first character from string
  • 15.1 Example 11.txt
  • 15. Example 11 Index last character from string
  • 16.1 Example 12.txt
  • 16. Example 12 Index fourth character from string
  • 17.1 Example 13.txt
  • 17. Example 13 Index fourth to last character from string
  • 18.1 Example 14.txt
  • 18. Example 14 Index a character that does not exist
  • 19. What is slicing
  • 20. What are parameters
  • 21.1 Example 15.txt
  • 21. Example 15 Slice a string without its first character
  • 22.1 Example 16.txt
  • 22. Example 16 Slice a string without its last character
  • 23.1 Example 17.txt
  • 23. Example 17 Slice a string without its first and last character
  • 24.1 Example 18.txt
  • 24. Example 18 Same as example 17 but with steps of 2
  • 25.1 Example 19.txt
  • 25. Example 19 Slicing the first 4 characters of a string
  • 26.1 Example 20.txt
  • 26. Example 20 Slice a string from the 4th to last index onward
  • 27.1 Example 21.txt
  • 27. Example 21 Slicing indexes that are not in the string
  • 28. Important things to remember about slicing

  • 6. Python essentials Manipulating integers and floats
  • 1.1 Python essentials Manipulating integers and floats PPT.pptx
  • 1. Introduction
  • 2. Whats the modulo operator
  • 3.1 Example 1.txt
  • 3. Example 1 10 % 3
  • 4.1 Example 2.txt
  • 4. Example 2 17 % 7
  • 5.1 Example 3.txt
  • 5. Example 3 21 % 8
  • 6. Whats floor division
  • 7.1 Example 4.txt
  • 7. Example 4 10 3
  • 8.1 Example 5.txt
  • 8. Example 5 18 5
  • 9. Compounding integers and floats
  • 10.1 Example 6.txt
  • 10. Example 6 Compound with addition
  • 11.1 Example 7.txt
  • 11. Example 7 Compound with subtractions
  • 12.1 Example 8.txt
  • 12. Example 8 Compound with multiplications
  • 13.1 Example 9.txt
  • 13. Example 9 Compound with divisions
  • 14.1 Example 10.txt
  • 14. Example 10 Compound with exponent
  • 15.1 Example 11.txt
  • 15. Example 11 Compound with modulo
  • 16.1 Example 12.txt
  • 16. Example 12 Compound with floor division
  • 17.1 Example 13.txt
  • 17. Example 13 Shortcut to compounding
  • 18.1 Example 14.txt
  • 18. Example 14 Convert integer or float into a string
  • 19.1 Example 15.txt
  • 19. Example 15 Convert integer or float into a string and add it to another string
  • 20.1 Example 16.txt
  • 20. Example 16 Convert float to integer
  • 21.1 Example 17.txt
  • 21. Example 17 Convert integer to float
  • 22.1 Example 18.txt
  • 22. Example 18 Getting the absolute value of an integer or float
  • 23.1 Example 19.txt
  • 23. Example 19 Multiplying an integer with a float
  • 24.1 Example 20.txt
  • 24. Example 20 Multiplying an integer with an integer
  • 25.1 Example 21.txt
  • 25. Example 21 Multiplying a float with a float
  • 26. Rules to remember when multiplying integers and floats
  • 27. Operator precedence

  • 7. Python essentials Manipulating booleans and Conditional statements
  • 1.1 Boolean and conditional statements PPT.pptx
  • 1.2 Example on Boolean slide.txt
  • 1. Introduction
  • 2.1 Example 1.txt
  • 2. Example 1 Check if integer 10 is greater than integer 5
  • 3.1 Important information about indentation 1.txt
  • 3.2 Important information about indentation 2.txt
  • 3.3 Important information about indentation 3.txt
  • 3. Important information about indentations
  • 4.1 Important things to know about conditional statements 1.txt
  • 4.2 Important things to know about conditional statements 2.txt
  • 4. Important information about conditional statements
  • 5. Introduction to nested if statements
  • 6.1 Example 2.txt
  • 6. Example 2 Single nested if statement
  • 7.1 Example 3.txt
  • 7. Example 3 Multiple nested if statements
  • 8.1 Example 4.txt
  • 8. Example 4 Line after multiple nested if statements
  • 9. Introduction to if...else statements
  • 10.1 Example 5.txt
  • 10. Example 5 else after if
  • 11.1 Example 6.txt
  • 11. Example 6 ifelse statements nested within another
  • 12. Introduction to if...elif statements
  • 13.1 Example 7.txt
  • 13. Example 7 1 set of ifelif statements
  • 14.1 Example 8.txt
  • 14. Example 8 if...elif statements but both return False
  • 15.1 Example 9.txt
  • 15. Example 9 Multiple elif statements following an if statement
  • 16.1 Example 10.txt
  • 16. Example 10 Multiple elif statements following an if statement but...
  • 17. Introduction to if...elif...else statements
  • 18.1 Example 11.txt
  • 18. Example 11 ifelifelse
  • 19. Introduction to logical operators
  • 20.1 Example 12.txt
  • 20. Example 12 Adding an and operator to an if statement
  • 21.1 Example 13.txt
  • 21. Example 13 Adding an or operator to an if statement
  • 22.1 Example 14.txt
  • 22. Example 14 and and or operators within 1 if statement
  • 23. Introduction to pass statement
  • 24.1 Example 15.txt
  • 24. Example 15 pass statement after if statement
  • 25. Important note on pass statement

  • 8. Python essentials Code comments
  • 1.1 Python essentials Code comments PPT.pptx
  • 1. Introduction
  • 2.1 Example 1.txt
  • 2. Example 1 ifelifelse statements with comments
  • 3. How else is the # symbol useful
  • 4.1 Example 2.txt
  • 4. Example 2 Using the # symbol to comment out code for debugging
  • 5. Shortcut to commenting code

  • 9. Python essentials Lists
  • 1.1 Python essentials Lists PPT.pptx
  • 1. Introduction
  • 2. How to add an object to a list
  • 3.1 Example 1.txt
  • 3. Example 1 Add an object to a list
  • 4.1 First example.txt
  • 4.2 Second example.txt
  • 4. Important notes about adding objects to lists
  • 5. How to check if an object is in a list
  • 6.1 Example 2.txt
  • 6. Example 2 Use the in operator to check if an object is in a list
  • 7. How to check if an object is not in a list
  • 8.1 Example 3.txt
  • 8. Example 3 Use not in to check if an object is not inside a list
  • 9. How to remove everything from a list
  • 10.1 Example 4.txt
  • 10. Example 4 Remove everything from a list
  • 11. How to remove a specific object from a list
  • 12.1 Example 5.txt
  • 12. Example 5 Use remove() to remove an object from a list
  • 13.1 Important things to remember about the remove() method 1.txt
  • 13.2 Important things to remember about the remove() method 2.txt
  • 13. Important notes about the remove() method
  • 14. How to count the number of objects in a list
  • 15.1 Example 6.txt
  • 15. Example 6 Use len() to count the number of objects in a list
  • 16. How to sum the integers and floats in a list
  • 17.1 Example 7.txt
  • 17. Example 7 Use sum() to sum integers and floats in a list
  • 18. How to find the integerfloat with the highest value in a list
  • 19.1 Example 8.txt
  • 19. Example 8 Use max() to find the integerfloat that has the highest value in a l
  • 20. How to find the integerfloat with the lowest value in a list
  • 21.1 Example 9.txt
  • 21. Example 9 Use min() to find the integerfloat that has the lowest value in a li
  • 22. How to index a list
  • 23.1 Example 10.txt
  • 23. Example 10 Retrieve second object from a list using its index
  • 24.1 Example 11.txt
  • 24. Example 11 Retrieve second to last object from a list using its index
  • 25. Important note about indexing lists
  • 26.1 Example 12.txt
  • 26. Example 12 Check length of list before indexing
  • 27. How to slice a list
  • 28.1 Example 13.txt
  • 28. Example 13 Slice first 3 objects from list
  • 29.1 Example 14.txt
  • 29. Example 14 Slice last 3 objects from list
  • 30. How to replace a list with its sliced section
  • 31.1 Example 15.txt
  • 31. Example 15 Replacing original list with its sliced section
  • 32.1 Example 16.txt
  • 32. Example 16 Shortcut to replacing original list with its sliced section
  • 33. What are for loops
  • 34.1 Example 17.txt
  • 34. Example 17 Basic for loop
  • 35.1 Example 17 - simplified.txt
  • 35. Example 17 - simplified
  • 36. Illustration of for loops
  • 37. For loop in layman terms
  • 38. Important things to remember about for loops 1
  • 39. Important things to remember about for loops 2
  • 40.1 Important things to remember about for loops 3.txt
  • 40. Important things to remember about for loops 3
  • 41.1 Important things to remember about for loops 4.txt
  • 41. Important things to remember about for loops 4
  • 42.1 Important things to remember about for loops 5.txt
  • 42. Important things to remember about for loops 5
  • 43.1 Example 18.txt
  • 43. Example 18 Practical example of for loop
  • 44. What is the continue statement
  • 45.1 Example 19.txt
  • 45. Example 19 for loop with continue statement
  • 46. What is the break statement
  • 47.1 Example 20.txt
  • 47. Example 20 for loop with break statement
  • 48. What is the range() function
  • 49.1 Example 21.txt
  • 49. Example 21 range()
  • 50. How to use range() and len() to loop through multiple lists
  • 51.1 Example 22.txt
  • 51. Example 22 Loop through indexes of multiple lists
  • 52. Important note about using range() and len() to loop through multiple lists
  • 53. What is a nested for loop
  • 54.1 Example 23.txt
  • 54. Example 23 Nested for loop
  • 55. Important things to remember about nested for loops 1
  • 56.1 Important things to remember about nested for loops 2.txt
  • 56. Important things to remember about nested for loops 2
  • 57. What happens when we have break statements in nested for loops
  • 58.1 Example 24.txt
  • 58. Example 24 break statement in inner loop
  • 59.1 Example 25.txt
  • 59. Example 25 break statement in outer loop

  • 10. Python essentials Dictionaries
  • 1.1 Python essentials Dictionaries PPT.pptx
  • 1. Introduction
  • 2.1 Important things to remember about dictionaries 1.txt
  • 2. Important things to remember about dictionaries 1
  • 3.1 Important things to remember about dictionaries 2.txt
  • 3. Important things to remember about dictionaries 2
  • 4.1 Important things to remember about dictionaries 3.txt
  • 4. Important things to remember about dictionaries 3
  • 5.1 Important things to remember about dictionaries 4.txt
  • 5. Important things to remember about dictionaries 4
  • 6.1 Important things to remember about dictionaries 5.txt
  • 6. Important things to remember about dictionaries 5
  • 7. How to retrieve a value from a dictionary
  • 8.1 Example 1.txt
  • 8. Example 1 Retrieve a value from a dictionary
  • 9. How to add a keyvalue pair to a dictionary
  • 10.1 Example 2.txt
  • 10. Example 2 Add a keyvalue pair to an empty dictionary
  • 11. How to replace the value of an existing key with a different value
  • 12.1 Example 3.txt
  • 12. Example 3 Replace value of existing key
  • 13. How to check if a key is in a dictionary
  • 14.1 Example 4.txt
  • 14. Example 4 If key in dictionary, print value
  • 15. How to check if a key is not in a dictionary
  • 16.1 Example 5.txt
  • 16. Example 5 If key not in dictionary, print key not in dictionary
  • 17. How to remove everything from a dictionary
  • 18.1 Example 6.txt
  • 18. Example 6 Remove everything from a dictionary
  • 19. How to remove an existing keyvalue pair from a dictionary
  • 20.1 Example 7.txt
  • 20. Example 7 Remove keyvalue pair from dictionary
  • 21.1 Example 8.txt
  • 21. Example 8 Check if key in dictionary before removing keyvalue pair
  • 22.1 Example 9.txt
  • 22. Example 9 Remove a keyvalue pair that doesnt exist in a dictionary
  • 23. How to run a for loop on a dictionary
  • 24.1 Example 10.txt
  • 24. Example 10 for loop through dictionary and print each key
  • 25. How to retrieve the value of each key during a for loop on a dictionary
  • 26.1 Example 11.txt
  • 26. Example 11 Retrieve value of each key during for loop of dictionary
  • 27.1 Example 12.txt
  • 27. Example 12 Removing keyvalue pairs during for loop of dictionary
  • 28.1 Example 13.txt
  • 28. Example 13 Retrieve latest price of AAPL from list inside dictionary
  • 29.1 Example 14.txt
  • 29. Example 14 Retrieve last 2 objects from list inside dictionary
  • 30.1 Example 15.txt
  • 30. Example 15 Add object to list inside dictionary
  • 31.1 Example 16.txt
  • 31. Example 16 Remove last 2 objects from list inside dictionary
  • 32. How to sort a dictionary based on its values in ascending order
  • 33.1 Example 17.txt
  • 33. Example 17 Sort dictionary in ascending order
  • 34. How to sort a dictionary based on its values in descending order
  • 35.1 Example 18.txt
  • 35. Example 18 Sort dictionary in descending order
  • 36. How to convert the keys of a dictionary into a list
  • 37.1 Example 19.txt
  • 37. Example 19 Retrieve top 2 stocks from dictionary after sorting in descending or

  • 11. Python essentials Functions
  • 1.1 Python essentials Functions PPT.pptx
  • 1. Introduction
  • 2.1 Example 1.txt
  • 2. Example 1 Function with no input parameters and returns nothing
  • 3. Important notes about function names
  • 4. How to create a function with no input parameters and returns something
  • 5.1 Example 2.txt
  • 5. Example 2 Function with no input parameters and returns a single object
  • 6.1 Example 3.txt
  • 6. Example 3 Function with no input parameters and returns 2 objects
  • 7. What are global and local variables
  • 8.1 Example 4.txt
  • 8. Example 4 Global and local variable
  • 9. How to create a function with input parameters and it returns nothing
  • 10.1 Example 5.txt
  • 10. Example 5 Function with 1 input parameter and returns nothing
  • 11. Important things to remember when creating functions with input parameters 1
  • 12. Important things to remember when creating functions with input parameters 2
  • 13. Important things to remember when creating functions with input parameters 3
  • 14.1 Example 6.txt
  • 14. Example 6 Function with 2 input parameters and returns nothing
  • 15. Important things to remember Functions with multiple input parameters
  • 16.1 Example 7.txt
  • 16. Example 7 Reference parameters when inputting function inputs
  • 17.1 Example 8.txt
  • 17. Example 8 Function with 2 input parameters and returns a single object

  • 12. Python essentials Objects
  • 1.1 Python essentials Objects PPT.pptx
  • 1. Introduction
  • 2. What is an object
  • 3. How to create objects
  • 4.1 Example 1.txt
  • 4. Example 1 Create a car factory class
  • 5.1 Example 2.txt
  • 5. Example 2 Create an object with class from example 1
  • 6. Important note about inputting object attributes
  • 7.1 Example 3.txt
  • 7. Example 3 Reference the attributes of object created in example 2
  • 8. What is the self keyword
  • 9.1 Example 4.txt
  • 9. Example 4 Same as example 3 but without the self keyword behind each attribute
  • 10.1 Example 5.txt
  • 10. Example 5 Create a new method
  • 11. Why add the self keyword to method definitions
  • 12.1 Example 6.txt
  • 12. Example 6 Run accelerate() method outside of its class
  • 13.1 Example 7.txt
  • 13. Example 7 Run accelerate() method inside of its class
  • 14. Important things to take note about objects 1
  • 15. Important things to take note about objects 2
  • 16. Important things to take note about objects 3
  • 17.1 Example 8.txt
  • 17. Example 8 Variation to example 6
  • 18. Key points to remember from this chapter

  • 13. Python essentials Tuples
  • 1.1 Python essentials Tuples PPT.pptx
  • 1. Introduction
  • 2.1 Example 1.txt
  • 2. Example 1 Create a tuple
  • 3.1 Example 2.txt
  • 3. Example 2 Create a tuple that stores different object types
  • 4.1 Example 3.txt
  • 4. Example 3 Index first object in tuple
  • 5.1 Example 4.txt
  • 5. Example 4 Index last object in tuple
  • 6. Why learn about tuples

  • 14. Python essentials Libraries
  • 1.1 Python essentials Libraries PPT.pptx
  • 1. Introduction
  • 2. How to request QuantConnect to add libraries
  • 3. What is QuantConnects research notebook
  • 4. Important settings for your QuantConnect account
  • 5. How to open up QuantConnects research notebook
  • 6. Introduction to research notebook
  • 7. How to import a library
  • 8.1 Important 1.txt
  • 8. Important note 1
  • 9.1 Important 2.txt
  • 9. Important note 2
  • 10. Important note 3

  • 15. Python essentials Libraries - statistics
  • 1.1 Python essentials Libraries - statistics PPT.pptx
  • 1. Introduction
  • 2.1 Example 1.txt
  • 2. Example 1 mean() function from the statistics library
  • 3.1 Example 2.txt
  • 3. Example 2 stdev() function from the statistics library

  • 16. Python essentials Libraries - datetime
  • 1.1 Python essentials Libraries - datetime PPT.pptx
  • 1. Introduction
  • 2. What are datetime objects
  • 3.1 Example 1.txt
  • 3. Example 1 Create datetime object that represents the time now
  • 4.1 Example 2.txt
  • 4. Example 2 Reference the attributes of a datetime object
  • 5.1 Example 3.txt
  • 5. Example 3 Reference the day of the week represented by a datetime object
  • 6. How to create a datetime object
  • 7.1 Example 4.txt
  • 7. Example 4 Create datetime object for 300 pm, 7th of December 2021
  • 8. How to compare datetime objects
  • 9.1 Example 5.txt
  • 9. Example 5 Compare 2 datetime objects
  • 10. What is the timedelta() function
  • 11.1 Example 6.txt
  • 11. Example 6 Add 10 hours to datetime object
  • 12.1 Example 7.txt
  • 12. Example 7 Subtract 10 weeks and 5 seconds from datetime object
  • 13.1 Example 8.txt
  • 13. Example 8 Add 5 weeks and subtract 10 hours from current time
  • 14.1 Example 9.txt
  • 14. Example 9 Print message if datetime 1 is more than 5 minutes from datetime 2

  • 17. Python essentials Libraries - pandas
  • 1.1 Python essentials Libraries - pandas PPT.pptx
  • 1. Introduction
  • 2. What is an API
  • 3. How to request for historical data
  • 4. Step 1 Build a connection between research notebook and QuantConnect
  • 5.1 Example 1.txt
  • 5. Step 2 Request QuantConnect for access to data for a stock
  • 6.1 Example 2.txt
  • 6. Step 3 Request historical data for a stock
  • 7. Introduction to QuantConnects API reference page
  • 8. How to access the column of a dataframe
  • 9.1 Example 3.txt
  • 9. Example 3 Access column of dataframe using square brackets
  • 10. How to access a specific value from a column
  • 11.1 Example 4.txt
  • 11. Example 4 Index first and last value from a column
  • 12.1 Example 5.txt
  • 12. Example 5 Use len() to count number of rows in dataframe before indexing
  • 13.1 Example 6.txt
  • 13. Example 6 Use len() to count number of values in a column before indexing
  • 14. How to convert the column of a dataframe into a list
  • 15.1 Example 7.txt
  • 15. Example 7 Convert the column of a dataframe into a list
  • 16. How to access a dataframes index
  • 17.1 Example 8.txt
  • 17. Example 8 Print index of dataframe
  • 18. How to isolate the time index from a QuantConnect historical data dataframe
  • 19.1 Example 9.txt
  • 19. Example 9 Isolate time index
  • 20. How to loop through a dataframe
  • 21.1 Example 10.txt
  • 21. Example 10 Loop through dataframe and print indexes
  • 22.1 Example 11.txt
  • 22. Example 11 Loop through dataframe and print time isolated indexes
  • 23.1 Example 12.txt
  • 23. Example 12 Loop through dataframe and print rows
  • 24. How to access the values of each row during a for loop
  • 25.1 Example 13.txt
  • 25. Example 13 Access close prices of each row during a for loop
  • 26. How to create a dataframe that has multiple columns
  • 27.1 Example 14.txt
  • 27. Example 14 Create pandas dataframe
  • 28. How to create a dataframe that has only 1 column
  • 29.1 Example 15.txt
  • 29. Example 15 Dataframe with single column
  • 30. Introduction to the methods of dataframes
  • 31. How to find the average of a column
  • 32.1 Example 16.txt
  • 32. Example 16 Find average of a column
  • 33. How to find the average of a selection of values from a column
  • 34.1 Example 17.txt
  • 34. Example 17 Find average of last 5 values of a column
  • 35. How to find the sum of a column
  • 36.1 Example 18.txt
  • 36. Example 18 Find sum of a column
  • 37. How to find the average of a row
  • 38.1 Example 19.txt
  • 38. Example 19 Find average of row
  • 39. How to create a column that has the average of each row in the dataframe
  • 40.1 Example 20.txt
  • 40. Example 20 Column with mean of each row
  • 41. How to create a column that has the average of select columns
  • 42.1 Example 21.txt
  • 42. Example 21 Column with mean of open, high, low and close columns
  • 43. How to access historical data for multiple stocks
  • 44.1 Example 22.txt
  • 44. Example 22 Historical data for AAPL and TSLA
  • 45. How to retrieve the historical data of a stock from a combined dataframe
  • 46.1 Example 23.txt
  • 46. Example 23 Retrieve historical data of AAPL from combined dataframe
  • 47. How to code an indicator
  • 48. Coding an SMA indicator
  • 49.1 Example 24.txt
  • 49. Example 24 30-period SMA
  • 50. What are NaN values
  • 51.1 Example 25.txt
  • 51. Example 25 Count NaN values
  • 52. Why does the SMA column have NaN values
  • 53. What does it mean to warm up an indicator
  • 54. Coding an EMA indicator
  • 55.1 Example 26.txt
  • 55. Example 26 10-period EMA
  • 56. Coding a MACD indicator
  • 57.1 Example 27.txt
  • 57. Example 27 MACD with settings (12, 26, 9)
  • 58. Tip on searching for indicator code to copy online
  • 59. How to plot an indicator in QuantConnects research notebook
  • 60.1 Example 28.txt
  • 60. Example 28 Plotting SMAs
  • 61. Why does the x-axis of the chart look messed up
  • 62.1 Example 29.txt
  • 62. Example 29 Fix x-axis of chart from example 28
  • 63. Why is this the only chapter where well be plotting
  • 64. How to utilize SMA crossovers to submit orders in the code
  • 65.1 Example 30.txt
  • 65. Example 30 Print index when fast SMA crosses above slow SMA
  • 66. How does extended hours data affect indicators
  • 67.1 Example 31.txt
  • 67. Example 31 Request for historical data between 2 times
  • 68.1 Example 32.txt
  • 68. Example 32 Plot minute resolution SMAs with extended hours data
  • 69.1 Example 33.txt
  • 69. Example 33 Plot minute resolution SMAs without extended hours data
  • 70. Why does the chart from example 32 look different from example 33
  • 71. What is a historical data error
  • 72.1 Example 34.txt
  • 72. Example 34 Simulate historical data error
  • 73. Why is historical data error a problem
  • 74.1 Example 35.txt
  • 74. Example 35 Check if stock Symbol string in dataframe index

  • 18. Python essentials Try and except
  • 1.1 Python essentials Try and except PPT.pptx
  • 1. Introduction
  • 2. What is try and except
  • 3.1 Example 1.txt
  • 3. Example 1 try and except
  • 4. Important note about try and except

  • 19. Python essentials Final tips
  • 1.1 Python essentials Final tips PPT.pptx
  • 1. Introduction
  • 2.1 Tip 1.txt
  • 2. Tip 1 Use finder to find spelling errors
  • 3. Tip 2 Copy and paste

  • 20. QuantConnect essentials Files
  • 1.1 QuantConnect essentials Files PPT.pptx
  • 1. Introduction
  • 2. How to create a new Python file
  • 3. Important note about backtesting and live trading
  • 4. How to create a new research notebook
  • 5. How to rename or delete a file
  • 6. Rules on naming Python files and research notebooks

  • 21. QuantConnect essentials Debugging
  • 1.1 QuantConnect essentials Debugging PPT.pptx
  • 1. Introduction
  • 2. What are build errors
  • 3. What are runtime errors
  • 4. What are logic errors
  • 5. What is QuantConnects debugger
  • 6.1 Example 1.txt
  • 6. Example 1 Using QuantConnects debugger
  • 7.1 Example 2.txt
  • 7. Example 2 An error occurs while debugging
  • 8.1 Example 3.txt
  • 8. Example 3 Inspect a variable while debugging

  • 22. QuantConnect essentials Plans
  • 1.1 QuantConnect essentials Plans PPT.pptx
  • 1. Introduction
  • 2. Limitations of QuantConnects free plan
  • 3. What are the backtest nodes available on QuantConnect
  • 4. The plan and backtest node I recommend

  • 23. QuantConnect essentials Logs
  • 1.1 QuantConnect essentials Logs PPT.pptx
  • 1. Introduction
  • 2. Important things to remember about logs
  • 3.1 Example 1.txt
  • 3. Example 1 Using self.Log() to print messages
  • 4. Why use self.log() and not print()
  • 5. Should we use self.log() or QuantConnects debugger to debug our code

  • 24. QuantConnect essentials Basic template
  • 1.1 QuantConnect essentials Basic template PPT.pptx
  • 1. Introduction
  • 2. The import
  • 3. The object class
  • 4. The initialize method
  • 5. The on data method
  • 6. Important things to remember about the on data method 1
  • 7. Important things to remember about the on data method 2
  • 8. Important things to remember about the on data method 3

  • 25. QuantConnect essentials API support
  • 1.1 QuantConnect essentials API support PPT.pptx
  • 1. Introduction
  • 2. QuantConnects API support system
  • 3. Conclusion

  • 26. QuantConnect essentials initialize method
  • 1.1 QuantConnect essentials initialize method PPT.pptx
  • 1. Introduction
  • 2.1 Example 1.txt
  • 2. Example 1 initialize

  • 27. QuantConnect essentials Accessing data
  • 1.1 QuantConnect essentials Accessing data PPT.pptx
  • 1. Introduction
  • 2. What are security objects
  • 3.1 Example 1.txt
  • 3. Example 1 Access close price
  • 4.1 Example 2.txt
  • 4. Example 2 Print close price
  • 5.1 Example 3.txt
  • 5. Example 3 Multiple stocks
  • 6. What happens when you overload your account with backtests
  • 7.1 Example 4.txt
  • 7. Example 4 Accessing data from data Slice
  • 8. Difference between accessing data in on data and the stocks security object
  • 9.1 Example 5.txt
  • 9. Example 5 ETFs

  • 28. QuantConnect essentials Order management
  • 1.1 QuantConnect essentials Order management PPT.pptx
  • 1. Introduction
  • 2. Market orders
  • 3. Limit orders
  • 4. What are tags
  • 5. Important notes about orders 1
  • 6. Important notes about orders 2
  • 7. Important notes about orders 3
  • 8. Important notes about orders 4
  • 9.1 Example 1.txt
  • 9. Example 1 Submit market order for SPY
  • 10. Why did the trading bot from example 1 submit so many orders
  • 11. How to prevent a trading bot from buying an asset once its invested in it
  • 12.1 Example 2.txt
  • 12. Example 2 Only buy SPY if not already invested
  • 13.1 Example 3.txt
  • 13. Example 3 Short SPY
  • 14. What are the important attributes of the portfolio object
  • 15.1 Example 4.txt
  • 15. Example 4 Buy SPY using 50% of portfolio cash
  • 16.1 Example 5.txt
  • 16. Example 5 Buy SPY with margin
  • 17.1 Example 6.txt
  • 17. Example 6 Closing a long position
  • 18.1 Example 7.txt
  • 18. Example 7 Closing a short position
  • 19.1 Example 8.txt
  • 19. Example 8 Limit order
  • 20. Why did the trading bot from example 8 submit so many limit orders
  • 21. How to prevent more limit orders for an asset if 1 is already open
  • 22.1 Example 9.txt
  • 22. Example 9 Prevent repetitive limit orders for SPY
  • 23. How to cancel a limit order that doesnt fill after a certain amount of time
  • 24. What is trading bot time
  • 25. How to reference trading bot time
  • 26. Important note about order ticket time
  • 27.1 Example 10.txt
  • 27. Example 10 Cancel a limit order if its not filled after 5 minutes
  • 28. How to update an order
  • 29.1 Example 11.txt
  • 29. Example 11 Update limit price and quantity if limit order not filled after 5min
  • 30. How to change a limit order to a market order
  • 31.1 Example 12.txt
  • 31. Example 12 Change limit order to market order if its not filled after 5min
  • 32.1 Example 13.txt
  • 32. Example 13 Enter a long position if MACD is greater than MACD signal
  • 33. How to allocate portfolio equally in a trading bot with multiple assets
  • 34.1 Example 14.txt
  • 34. Example 14 Invest equally in each asset
  • 35. How to prevent repetitive limit orders in a trading bot with multiple assets
  • 36.1 Example 15.txt
  • 36. Example 15 Prevent repetitive limit orders
  • 37.1 Example 16.txt
  • 37. Example 16 Cancel limit orders if they dont fill after 5 minutes
  • 38.1 Example 17.txt
  • 38. Example 17 Update limit price of limit orders if they dont fill after 5min
  • 39.1 Example 18.txt
  • 39. Example 18 Change limit orders to market orders if they dont fill after 5min
  • 40.1 Example 19.txt
  • 40. Example 19 Limit order management with long and short orders

  • 29. QuantConnect essentials Risk management
  • 1.1 QuantConnect essentials Risk management PPT.pptx
  • 1. Introduction
  • 2. How to avoid breaching pattern day trading rules
  • 3.1 Example 1.txt
  • 3. Example 1 Prevent buying and selling (selling and buying) on the same day
  • 4. How to deal with position risks
  • 5.1 Example 2.txt
  • 5. Example 2 Stop loss on long positions
  • 6.1 Example 3.txt
  • 6. Example 3 Stop loss on short positions
  • 7.1 Example 4.txt
  • 7. Example 4 Stop loss in a trading bot with both long and short positions
  • 8.1 Example 5.txt
  • 8. Example 5 Take profit and stop loss
  • 9. What is trailing stop loss
  • 10.1 Example 6.txt
  • 10. Example 6 Trailing stop loss on long positions
  • 11.1 Example 7.txt
  • 11. Example 7 Trailing stop loss on short positions
  • 12.1 Example 8.txt
  • 12. Example 8 Trailing stop loss in a trading bot with long and short positions
  • 13.1 Example 9.txt
  • 13. Example 9 Take profit and trailing stop loss

  • 30. QuantConnect essentials Scheduled events
  • 1.1 QuantConnect essentials Scheduled events PPT.pptx
  • 1. Introduction
  • 2. How to create a scheduled event
  • 3.1 Example 1.txt
  • 3. Example 1 Log SPYs price at 931 am
  • 4.1 Example 2.txt
  • 4. Example 2 Log SPYs price at 915 am (pre-market hours)
  • 5.1 Example 3.txt
  • 5. Example 3 Log SPYs price at market close
  • 6. Important note on scheduled events
  • 7.1 Example 4.txt
  • 7. Example 4 Log SPYs price during half-day trading days
  • 8.1 Example 5.txt
  • 8. Example 5 Schedule trading logic to run only after 10 am
  • 9.1 Example 6.txt
  • 9. Example 6 Only trade between 10 am and 11 am
  • 10.1 Example 7.txt
  • 10. Example 7 Collect data during regular hours, trade during after hours
  • 11. Important note on how negative signs are applied to time rules object
  • 12. How to schedule events on select days of the week
  • 13.1 Example 8.txt
  • 13. Example 8 Only trade on Tuesdays and Thursdays
  • 14. Important note on which stockETF to use to schedule events

  • 31. QuantConnect essentials Historical data
  • 1.1 QuantConnect essentials Historical data PPT.pptx
  • 1. Introduction
  • 2.1 Example 1.txt
  • 2. Example 1 Request historical data for AAPL
  • 3.1 Example 2.txt
  • 3. Example 2 Request historical data for multiple assets
  • 4.1 Example 3.txt
  • 4. Example 3 Buy if current price greater than price before start of backtest
  • 5.1 Example 4.txt
  • 5. Example 4 Same as example 3 but with daily close prices updated
  • 6.1 Example 5.txt
  • 6. Example 5 Same as example 4 but with historical data requests in on data
  • 7. Why does the backtest for example 5 take so long to complete
  • 8. Tips to speed up backtest if trading bot requires historical data
  • 9.1 Example 6.txt
  • 9. Example 6 Buy if current price greater than average of past 10 daily close
  • 10. Why do we need to remove unnecessary data points that were storing

  • 32. QuantConnect essentials Consolidating Data
  • 1.1 QuantConnect essentials Consolidating Data PPT.pptx
  • 1. Introduction
  • 2. How to consolidate data
  • 3.1 Example 1.txt
  • 3. Example 1 Create 5-minute candlesticks for AAPL
  • 4.1 Example 2.txt
  • 4. Example 2 Entry orders in consolidated candlestick receiver and on data
  • 5.1 Example 3.txt
  • 5. Example 3 Buy if current price is greater than average of past 10 5min close
  • 6. Why do we put the trading bots trading logic in on data
  • 7. Problem with example 3
  • 8. How to solve the problem from example 3
  • 9.1 Example 4.txt
  • 9. Example 4 Create consolidated candlesticks with historical data
  • 10.1 Example 5.txt
  • 10. Example 5 3 consolidated periods
  • 11.1 Example 6.txt
  • 11. Example 6 Example 5 with trading logic
  • 12.1 Example 7.txt
  • 12. Example 7 Warm up consolidators from example 6
  • 13.1 Example 8.txt
  • 13. Example 8 Same as example 7 but with different warm up resolutions
  • 14. How to create consolidators for multiple assets
  • 15.1 Example 9.txt
  • 15. Example 9 Create consolidators for multiple assets
  • 16.1 Example 10.txt
  • 16. Example 10 Buy 1 share in consolidated candlestick receiver method
  • 17. Why were 3 orders submitted per asset every 5 minutes from example 10
  • 18.1 Example 11.txt
  • 18. Example 11 Submit order for symbol of bar received in consolidated receiver
  • 19.1 Example 12.txt
  • 19. Example 12 Buy if current price is greater than average of past 10 cons close
  • 20.1 Example 13.txt
  • 20. Example 13 Warm up consolidators of multiple assets
  • 21.1 Example 14.txt
  • 21. Example 14 Multiple assets with multiple consolidated periods
  • 22. Why did the error from example 14 occur
  • 23.1 Example 15.txt
  • 23. Example 15 Prevent orders from being submitted in initialize (during warm up)

  • 33. QuantConnect essentials Built-in Indicators
  • 1.1 QuantConnect essentials Built-in Indicators PPT.pptx
  • 1. Introduction
  • 2. How to tell if an indicator is a data point or bar indicator
  • 3. Important notes about indicators
  • 4.1 Example 1.txt
  • 4. Example 1 Initialize MACD indicator
  • 5.1 Example 2.txt
  • 5. Example 2 Initialize RSI indicator
  • 6.1 Example 3.txt
  • 6. Example 3 Initialize ATR indicator
  • 7.1 Example 4.txt
  • 7. Example 4 Initialize OBV indicator
  • 8.1 Example 5.txt
  • 8. Example 5 Input moving average type setting for MACD
  • 9.1 Example 6.txt
  • 9. Example 6 Input moving average type setting for RSI
  • 10. How to change data point type used in data point indicator calculations
  • 11.1 Example 7.txt
  • 11. Example 7 Update MACD with high prices instead of close prices
  • 12.1 Example 8.txt
  • 12. Example 8 Update BB (Bollinger Bands) with median instead of close prices
  • 13. How to warm up a built-in indicator
  • 14.1 Example 9.txt
  • 14. Example 9 Warm up MACD
  • 15.1 Example 10.txt
  • 15. Example 10 Warm up MACD thats calculated with high prices
  • 16.1 Example 11.txt
  • 16. Example 11 Warm up ATR
  • 17.1 Example 12.txt
  • 17. Example 12 Warm up OBV
  • 18. How to warm up multiple indicators
  • 19.1 Example 13.txt
  • 19. Example 13 Warm up MACD and RSI
  • 20.1 Example 14.txt
  • 20. Example 14 Warm up MACD, RSI and ATR
  • 21.1 Example 15.txt
  • 21. Example 15 Warm up MACD, RSI, ATR and OBV
  • 22.1 Example 16.txt
  • 22. Example 16 Initialize and warm up MACD for multiple assets
  • 23.1 Example 17.txt
  • 23. Example 17 Initialize and warm up MACD and ATR for multiple assets
  • 24.1 Example 18.txt
  • 24. Example 18 Initialize and warm up MACD, ATR and OBV for multiple assets
  • 25. How do we use indicators
  • 26.1 Example 19.txt
  • 26. Example 19 MACD trading strategy
  • 27.1 Example 20.txt
  • 27. Example 20 MACD and RSI trading strategy
  • 28.1 Example 21.txt
  • 28. Example 21 MACD and RSI trading strategy for multiple assets
  • 29. How to update indicators with consolidators
  • 30.1 Example 22.txt
  • 30. Example 22 Update MACD with 5-minute candlesticks
  • 31.1 Example 23.txt
  • 31. Example 23 Update MACD and RSI with 5-minute candlesticks
  • 32.1 Example 24.txt
  • 32. Example 24 Update MACD with 5min bars and ATR with 4hour bars
  • 33.1 Example 25.txt
  • 33. Example 25 Same as example 24 but with multiple assets
  • 34. How to manually update an indicator with alternative data
  • 35.1 Example 26.txt
  • 35. Example 26 MACD updated with property prices

  • 34. QuantConnect essentials Universe selection
  • 1.1 QuantConnect essentials Universe selection PPT.pptx
  • 1. Introduction
  • 2. Fundamental reference table
  • 3. on securities changed
  • 4. Diagram on how universe selection and on securities changed work
  • 5. Universe settings
  • 6. When does universe selection happen
  • 7. Important things to remember about universe selection
  • 8.1 Example 1.txt
  • 8. Example 1 Filter down penny stocks
  • 9. Further explanation on how universe selection works
  • 10.1 Example 2.txt
  • 10. Example 2 Filter stocks of companies that operate in the semiconductor industry
  • 11. Is there an easier way to sort through the fundamental reference table
  • 12.1 Example 3.txt
  • 12. Example 3 Filter based on revenue growth
  • 13.1 Example 4.txt
  • 13. Example 4 Filter top 5 companies in terms of revenue growth
  • 14.1 Example 5.txt
  • 14. Example 5 Filter stocks (current daily closing $ daily closing $ 15 days ago)
  • 15. Important note on universe selection and historical data 1
  • 16. Important note on universe selection and historical data 2
  • 17.1 Example 6.txt
  • 17. Example 6 Using 200-EMA to filter stocks
  • 18.1 Example 7.txt
  • 18. Example 7 Create SMA indicators for stocks entering the trading bot
  • 19.1 Example 8.txt
  • 19. Example 8 Updating indicators with consolidated data
  • 20. Is it possible to unsubscribe an indicator
  • 21. How to ensure that an asset passes universe selection
  • 22.1 Example 9.txt
  • 22. Example 9 Ensure that AAPL, TSLA and SPY get filtered down
  • 23.1 Example 10.txt
  • 23. Example 10 Adjust universe settings
  • 24. Why does universe selection take so long
  • 25. How to reduce frequency of universe selection
  • 26.1 Example 11.txt
  • 26. Example 11 Schedule universe selection to happen only on Sunday
  • 27.1 Example 12.txt
  • 27. Example 12 Universe selection with trading logic
  • 28. Critical parts to have in universe selection 1
  • 29. Critical parts to have in universe selection 2
  • 30. Important note about universe selection

  • 35. QuantConnect essentials Alternative data
  • 1.1 QuantConnect essentials Alternative data PPT.pptx
  • 1. Introduction
  • 2. How to find a dataset
  • 3. Important things to look at in a dataset
  • 4. How to use Tiingo News Feed dataset
  • 5.1 Example 1.txt
  • 5. Example 1 Tiingo news with 1 stock
  • 6.1 Example 2.txt
  • 6. Example 2 Tiingo news with universe selection

  • 36. QuantConnect essentials Coding your idea
  • 1.1 QuantConnect essentials Coding your idea PPT.pptx
  • 1. Introduction
  • 2. What I do to understand my clients strategies
  • 3. Introduction to template strategy outline
  • 4. Introduction to strategy outline for example 1
  • 5.1 Example 1.txt
  • 5. Example 1 Momentum trading strategy

  • 37. QuantConnect essentials Interpreting backtest results
  • 1.1 QuantConnect essentials Interpreting backtest results PPT.pptx
  • 1. Introduction
  • 2. What is drawdown
  • 3. Why is drawdown important
  • 4. Why are win and loss averages important
  • 5. Why are win rates important
  • 6. My recommendation

  • 38. QuantConnect essentials Tips & common mistakes
  • 1.1 QuantConnect essentials Tips & common mistakes PPT.pptx
  • 1. Introduction
  • 2. Tip 1 Input clear descriptions before each line of code
  • 3. Tip 2 Pay extra attention when working universe selection
  • 4. Tip 3 Code your trading bot step-by-step
  • 5. Common mistake 1 Using = instead of == when comparing 2 objects
  • 6. Common mistake 2 Comparing indicator values incorrectly
  • 7. Common mistake 3 Trailing stop loss and QuantConnect symbols
  • 8. Common mistake 4 Comparing incorrectly with or keyword

  • 39. QuantConnect essentials Live trading
  • 1.1 QuantConnect essentials Live trading PPT.pptx
  • 1. Introduction
  • 2. Which live trading node should I get
  • 3. How to launch a trading bot for live trading
  • 4. The holdings tab
  • 5. The orders tab
  • 6. The insights tab
  • 7. The logs tab
  • 8. The code tab
  • 9. How to stop a live trading bot

  • 40. QuantConnect essentials Live trading notifications
  • 1.1 QuantConnect essentials Live trading notifications PPT.pptx
  • 1. Introduction
  • 2. How to send email notifications
  • 3. How to send SMS notifcations
  • 4.1 Example 1.txt
  • 4. Example 1 Send email and sms notifications when order submitted

  • 41. QuantConnect essentials Interactive Brokers
  • 1.1 QuantConnect essentials Interactive Brokers PPT.pptx
  • 1. Introduction
  • 2. Important point 1 IBKR Pro account
  • 3. Important point 2 IB Key Security via IBKR Mobile
  • 4. Important point 3 2FA prompt
  • 5. Important point 4 IBKR paper trading account
  • 6. Important point 5 Trading permissions
  • 7. Important point 6 Live deployment login credentials
  • 8. Important point 7 Number of concurrent logins
  • 9. Important point 8 Weekly restarts
  • 10. Important point 9 Allow limit orders to be filled during extended hours
  • 11. Important point 10 Short availabilities
  • 12. Important point 11 Daily server resets
  • 13. Conclusion
  • 139,000 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    افزودن به سبد خرید
    خرید دانلودی فوری

    در این روش نیاز به افزودن محصول به سبد خرید و تکمیل اطلاعات نیست و شما پس از وارد کردن ایمیل خود و طی کردن مراحل پرداخت لینک های دریافت محصولات را در ایمیل خود دریافت خواهید کرد.

    ایمیل شما:
    تولید کننده:
    شناسه: 41703
    حجم: 4723 مگابایت
    مدت زمان: 818 دقیقه
    تاریخ انتشار: ۱۸ آذر ۱۴۰۳
    طراحی سایت و خدمات سئو

    139,000 تومان
    افزودن به سبد خرید