Datetime setting seems to be easy if you just need to click a button in FactSet PA, but to perform a backtesting in python, or on any other data analytical tools you use, grasping the gist of datetime knowledge and knowing how to set them correctly is highly necessary. First, the ondemand API is quite handy … Continue reading Datetime Knowledge and Setting
Programming
ASCII, UTF-8, and Latin-1 Coding Nuances
I got thrown off quite a few times when there are textual fields covering names of people or companies across the globe. The error message I frequently received is: 'ascii' codec can't encode character u'\u2019' in position 16: ordinal not in range(128) Various encoding system applied causes the issues, hence it's needed to dig deeper … Continue reading ASCII, UTF-8, and Latin-1 Coding Nuances
Why Python and Some Basic Concepts
Python is a higher level programming language, easy for novice learner to get a hang of in a short time period. It's versatile, efficient and powerful. Versatile refers not only to its seamless incorporation of multiple applications but also its ubiquitously used in many established products such as Facebook, trading software etc. This language is … Continue reading Why Python and Some Basic Concepts