Message Boards Message Boards

0
|
27085 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Problem in import intraday financial data from .csv - in TradingChart[]

Posted 11 years ago
The following is my data in .csv file which is a intraday (Date with time) financial data

*************************
Date,Open,High,Low,Close,Vol

1997.9.11 9:10:00,1176.25,1176.5,1168.5,1169.5,100

1997.9.11 9:20:00,1169.75,1171.25,1161.25,1166.5,400

1997.9.11 9:30:00,1166.5,1176,1165.5,1173.25,500

************************
I am not able to import and plot it using TradingChart[].

There is no problem in importing and using in TradingChart[] with daily data (Date without time).
POSTED BY: sivamaniooty
2 Replies
The issue appears to be that the dates/times are correctly formatted for the function. There are several ways they can be formated. If you look in the documentation for TradingChart[], you will see this documented under "Details and Options" in the documentation for DateListPlot.

The most concrete and precise way you can specify the date is using a list of numeric values: {y,m,d,h,m,s} (year, month, day, hour ....etc). I would reccomend doing this.

How are you choosing to give your dates to TradingChart or DateListPlot? You may want to check the documentation to see if it is an accepted way of specifying the date. If not, try specifying it using a list as mentioned above.
POSTED BY: Sean Clarke
Posted 11 years ago
Thank you for your kind reply.  
I solved the problem.
POSTED BY: sivamaniooty
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract