Please use this identifier to cite or link to this item: https://hdl.handle.net/10356/18193
Title: Design and implementation of new time series object for financial data in python
Authors: Hardian Setiawan Winata.
Keywords: DRNTU::Engineering::Electrical and electronic engineering::Computer hardware, software and systems
Issue Date: 2009
Abstract: The main purpose of this project is to create a new time series object in Python software by considering date and time object. This project takes inspiration from date and time object (timeDate class) and time series object (timeSeries class) which have been implemented on Rmetrics software. A date and time object in R has been stable because it could solve the following issues about time zones conversion, DST rules (Day light Saving Time) and holidays around the countries. A time series object in R has a lot of mathematic operations and functions which are very useful on processing the financial data. Before starting this project, some analyses had to be done on performance of both Python and Rmetrics (benchmarking) and some existing modules from Python related to this project. After performing these analyses, it was decided that date and time object would be developed from existing module in Python which called datetime.datetime by inheritance method while time series object would be developed using existing module called Numpy which emphasize on “array” object for storing financial data. This report explains the implemented date and time object and time series object in Python which consist of three main class objects: DateTime, TimeDelta and TimeSeries. TimeDelta class is used to perform addition and subtraction with DateTime class. This report also highlights the difference between them and the existing objects from Rmetrics. Other functions associated with these classes are called utility functions. These entire utility functions would not be explained in this report. This report explains some important and useful functions from them. The entire classes and functions list can be seen on this report.
URI: http://hdl.handle.net/10356/18193
Rights: Nanyang Technological University
Fulltext Permission: restricted
Fulltext Availability: With Fulltext
Appears in Collections:EEE Student Reports (FYP/IA/PA/PI)

Files in This Item:
File Description SizeFormat 
E B2066-081.pdf
  Restricted Access
6.32 MBAdobe PDFView/Open

Google ScholarTM

Check

Items in DR-NTU are protected by copyright, with all rights reserved, unless otherwise indicated.