Python Algorithmic Trading Cookbook
IfyouwanttofindouthowyoucanbuildasolidfoundationinalgorithmictradingusingPython,thiscookbookisheretohelp.StartingbysettingupthePythonenvironmentfortradingandconnectivitywithbrokers,you’llthenlearntheimportantaspectsoffinancialmarkets.Asyouprogress,you’lllearntofetchfinancialinstruments,queryandcalculatevarioustypesofcandlesandhistoricaldata,andfinally,computeandplottechnicalindicators.Next,you’lllearnhowtoplacevarioustypesoforders,suchasregular,bracket,andcoverorders,andunderstandtheirstatetransitions.Laterchapterswillcoverbacktesting,papertrading,andfinallyrealtradingforthealgorithmicstrategiesthatyou'vecreated.You’llevenunderstandhowtoautomatetradingandfindtherightstrategyformakingeffectivedecisionsthatwouldotherwisebeimpossibleforhumantraders.Bytheendofthisbook,you’llbeabletousePythonlibrariestoconductkeytasksinthealgorithmictradingecosystem.Note:Fordemonstration,we'reusingZerodha,anIndianStockMarketbroker.Ifyou'renotanIndianresident,youwon'tbeabletouseZerodhaandthereforewillnotbeabletotesttheexamplesdirectly.However,youcantakeinspirationfromthebookandapplytheconceptsacrossyourpreferredstockmarketbrokerofchoice.
·10萬字