Back to Community
Hi I am new to jupyter notebook, I have been using PyCharm quick question; I am reviewing the tutorial...

so I wrote this line of code:

close_price=prices(assets=symbols("jpm"), start="2000-01-01", end="2019-01-01")

and it will not work?

whereas quantopian has this line and it works:

aapl_close = prices(
assets=symbols('AAPL'),
start='2013-01-01',
end='2016-01-01',
)

my question is why is the quant code indented when you can do it all in one line, also how do you indent like that in the notebook.

Thanks.

1 response

how do i always get today's data, i tried this code:

.today() .now()

none of it works