Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Let's create a zipline_env
virtual environment with Python 3.6."
A block of code is set as follows:
from zipline import run_algorithm from zipline.api import order_target_percent, symbol from datetime import datetime import pytz
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
from . import quandl  # noqa from . import csvdir  # noqa from . import quandl_eod  # noqa
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Then, specify the variable in the Environment Variables... dialog."
Tips or important notes
Appear like this.