Comentarios en Quant Corner https://quantcorner.wordpress.com Tue, 06 Nov 2018 22:47:47 +0000 hourly 1 http://wordpress.com/ Comentario en An Eviews workfile reader written in Python por édouard https://quantcorner.wordpress.com/2015/10/05/reading-eviews-workfiles-with-python/#comment-1048 Tue, 06 Nov 2018 22:47:47 +0000 http://quantcorner.wordpress.com/?p=1652#comment-1048 En respuesta a Juan Manuel Alvarez.

Hi Juan Manuel Sorry for the late reply. Unfortunately, I couldn’t retrieve any of the files related to this project.

]]>
Comentario en An Eviews workfile reader written in Python por édouard https://quantcorner.wordpress.com/2015/10/05/reading-eviews-workfiles-with-python/#comment-1046 Mon, 22 Oct 2018 20:49:19 +0000 http://quantcorner.wordpress.com/?p=1652#comment-1046 En respuesta a Juan Manuel Alvarez.

Hola Juan. Gracias por visitar mi bitacora. Apologies for the delay in replying. I have been quite busy lately, to be honest. I will (try to) retrieve the code snippet this weekend and upload onto github and I will notify over here once it is done. If you don’t see anything coming, please ping me.

]]>
Comentario en An Eviews workfile reader written in Python por Juan Manuel Alvarez https://quantcorner.wordpress.com/2015/10/05/reading-eviews-workfiles-with-python/#comment-1045 Mon, 15 Oct 2018 23:31:52 +0000 http://quantcorner.wordpress.com/?p=1652#comment-1045 Nice work! Is there a package or an open source version available?

]]>
Comentario en Passing a pandas.DataFrame on to Javascript within Ipython/Jupyter Notebook por Martin Müsli https://quantcorner.wordpress.com/2014/10/13/from-a-python-dataframe-to-javascript-within-ipython-notebook/#comment-1038 Tue, 17 Jul 2018 07:48:50 +0000 http://quantcorner.wordpress.com/?p=1532#comment-1038 ShimWarning: «The `IPython.html` package has been deprecated since IPython 4.0. You should import from `notebook` instead. `IPython.html.widgets` has moved to `ipywidgets`.
«`IPython.html.widgets` has moved to `ipywidgets`.», ShimWarning)»

import ipywidgets
jsonDf = df.to_json(orient’index’)
ipywidgets.HTML(value = »’ »’ + jsonDf + »)

#Output:
HTML(value=’ {«1463011200000»:{«add_rd»:1},»1463097600000″:{«add_rd»:0},»14631840…
#Using epoch-timestamp (days) as index, «add_rd» as an event-name with the number of occurrences per timestamp

]]>
Comentario en Using LibCurl with Visual C++ 2010 por VS2012: 'nmake' n'est pas reconnu comme une commande interne ou externe https://quantcorner.wordpress.com/2012/04/08/using-libcurl-with-visual-c-2010/#comment-1037 Fri, 13 Jul 2018 11:33:41 +0000 http://quantcorner.wordpress.com/?p=709#comment-1037 […] Je veux construire une bibliothèque statique curl pour VS2012: https://quantcorner.wordpress.com/2012/04/08/using-libcurl-with-visual-c-2010/ […]

]]>
Comentario en Parsing pdf files with Python and PDFMiner por édouard https://quantcorner.wordpress.com/2014/03/16/parsing-pdf-files-with-python-and-pdfminer/#comment-1036 Mon, 04 Jun 2018 19:30:14 +0000 http://quantcorner.wordpress.com/?p=1482#comment-1036 En respuesta a Tyson Tan.

Hi thank you for your question.

There may be many reasons why this piece of (so ugly!) code doesn’t work.

On the user side — Jan, 1st, 2013 was a quite long time ago. The corresponding file may not be available any more on their server. Another thing, is that the user may be required to enter a date actually corresponding to a publication date (there were probably no report published on Jan.1st that year or any other year).

Now, on the programming side of things — Have you managed to get the code working for any other date?

If you are actually interested in the prices in these pdf files, you surely are better off acquiring them from the NASS website. I believe all his their Quick Stats tools. I mean don’t waste your time with the piece of code in this blog entry. It isn’t worth.

]]>
Comentario en Parsing pdf files with Python and PDFMiner por Tyson Tan https://quantcorner.wordpress.com/2014/03/16/parsing-pdf-files-with-python-and-pdfminer/#comment-1035 Mon, 04 Jun 2018 04:14:44 +0000 http://quantcorner.wordpress.com/?p=1482#comment-1035 Not sure why it show error. Thank you.

Enter the date of the latest weekly price bulletin (dd/mm/yyyy): 01/01/2013
How many weeks back in time: 10

Date as read in PDF Formatted date Value
NA 01/01/2013 NA

NameErrorTraceback (most recent call last)
in ()
123
124 # Output onto the screen
–> 125 print res

NameError: name ‘res’ is not defined

]]>
Comentario en Passing a pandas.DataFrame on to Javascript within Ipython/Jupyter Notebook por édouard https://quantcorner.wordpress.com/2014/10/13/from-a-python-dataframe-to-javascript-within-ipython-notebook/#comment-1034 Sun, 31 Dec 2017 23:12:50 +0000 http://quantcorner.wordpress.com/?p=1532#comment-1034 En respuesta a Michael JH.

Nice! Thank you for your comment.

]]>
Comentario en Passing a pandas.DataFrame on to Javascript within Ipython/Jupyter Notebook por Michael JH https://quantcorner.wordpress.com/2014/10/13/from-a-python-dataframe-to-javascript-within-ipython-notebook/#comment-1033 Sun, 31 Dec 2017 16:58:28 +0000 http://quantcorner.wordpress.com/?p=1532#comment-1033 Another solution is

js = ‘window.x = 2; window.mydict = ‘ + jsonDf + ‘; console.log(«JS executed»)’

from IPython.display import Javascript, display

display(Javascript(js))

]]>
Comentario en Fetching options data from NASDAQ website with Python por IMHO BEST LINKS FROM QUANTOCRACY FOR THE WEEK 2 NOV 15 — 8 NOV 15 | Quantitative Investor Blog https://quantcorner.wordpress.com/2015/11/02/fetching-nasdaq-options-data-with-python/#comment-1032 Sat, 14 Nov 2015 23:36:35 +0000 http://quantcorner.wordpress.com/?p=1674#comment-1032 […] Fetching options data from NASDAQ website with Python […]

]]>