Back to Community
Help me find error in code?

Hey guys very new to Quantopian and Python
Ive been taking some classes on udemy and reading books i got to completing my first code but i dont know why i keep getting this error

LINE TYPE DETAILS
--- Error Algorithm must implement initialize(context) method.

But i do have the initialize context method in the beginning of the code....

[IMG]http://i67.tinypic.com/2igdv01.png[/IMG]

4 responses

。。。。i think there is a typo in your code,

how should i go about finding the typo.. i cant find it!!

Hello ferhat,

There's a typo in your code, you've used intialize(context): while you should've used initialize(context): instead. Your code in missing one i between n and t in initialize.

thank you Mikko!