Tag Archives: amCharts

I dumped WordPress idea for trading with AMCharts and HighCharts

I dumped WordPress idea for trading with AMCharts and HighCharts

As I have hinted in my WordPress video playlist on my Youtube channel, what I was thinking was to integrate with charting. These were only IDEAs as stated in the videos. I have now dug deeper in trying to integrate with an external data source. I have found this does not work with inadequate docs so I am resorting to the proven Matlab GUIDE process for GUI front ends. I will experiment further with that now instead of banging my head against a wall by fooling around with this stuff. Here are some others who struggled with both AMCharts and HighCharts:

http://robforman.com/why-i-have-to-leave-you-amcharts/

Read this comment:

Nothing has changed in this libary. I cannot figure out how to download external CSV within their WordPress plugin. I am unsure where this file is supposed to reside. As a result, I am on the borderline of dumping for HighStocks. HighStocks does not offer easy intergration with Technical analysis so I am unsire how to proceed with that.

It amazes me these companies selling these highly overpriced libraries cannot fix these nor produce proper docs to help myself. I don’t have time to waste. No point in me revisiting if there was an easy solution as I have lost faith in this stuff.

I did really have high hope in these libraries but this does not change my view on WordPress

Join my FREE newsletter to see how I progress with Matlab GUIDE for my automated trading GUIs

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Python script to convert Redis query to JSON or CSV for WordPress AMCharts data loader

Python script to convert Redis query to JSON or CSV for WordPress AMCharts data loader

This will be very helpful for my WordPress charts in the near future

This will go through many iterations!!

Here is the sample of the Python script

import redis
import codecs, json
sym = ‘EUR’
fname = sym +’.json’
r = redis.StrictRedis(host=’localhost’, port=6379, db=0)
x = r.lrange(‘EUR’,0,10)
with codecs.open(name, ‘w’, ‘utf8’) as f:
     f.write(json.dumps(x, sort_keys = True, ensure_ascii=False))

 

Important notes:

Original example uses redis-py Python package https://github.com/andymccurdy/redis-py

Original example above was found using dinos66 answer from http://stackoverflow.com/questions/12309269/how-do-i-write-json-data-to-a-file-in-python

http://stackoverflow.com/questions/19795012/how-to-convert-a-list-to-jsonarray-in-python

AMCharts data loader example

https://github.com/amcharts/dataloader/tree/master/examples –> refer to the stock samples and see data/MSFT.csv examples

I am sure there will be more to come for this

Join my FREE newsletter to learn how this code will help my automated trading

 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Quick installation of AMCharts into WordPress

Quick installation of AMCharts into WordPress

Very quick snapshot on how to install out of box with no knowledge. I am impressed

Join my FREE newsletter to learn more how WordPress can be used for charting for automated trading

 

 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

You use amCharts Javascript library for trading?

You use amCharts Javascript library for trading?

This does not look like it is open source as originally through. Here are some demos but there is one with a price:

JavaScript Stock Chart

Drawing Trend Lines

I still think Matlab will fulfil my needs with the Guide option to generate front ends to deployed in to Java JAR files.

Thank to someone who is part of my Meetup group

Join my FREE newsletter to learn more about these charting libraries 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!