; jQuery('#stockflock').dataTable( { "bProcessing": true, "aaData": json.data, "bLengthChange": false, "bFilter": false, "bInfo": false, "bPaginate": false, "responsive": true, "aoColumns": [{ "title": "Company", "mDataProp": "short_name" },{ "title": "Share Price", "mDataProp": "price_value", "mRender": function(data, type, full){ return "$" + data; } },{ "title": "Dividend Per Share", "mDataProp": "dividend_per_share", "mRender": function(data, type, full){ return "$" + data; } },{ "title": "Dividend Yield", "mDataProp": "dividend_yield", "mRender": function(data, type, full){ return data + "%"; } },{ "title": "Gearing Ratio", "mDataProp": "gearing_ratio", "mRender": function(data, type, full){ return data + "%"; } },{ "title": "Net Asset Value", "mDataProp": "net_asset_value", "mRender": function(data, type, full){ return "$" + data; } },{ "title": "P/B", "mDataProp": "book_value" },{ "title": "P/E", "mDataProp": "earning_value" },{ "title": "Debt Assets", "mDataProp": "debt_assets" },] }); });
Powered by

stockflock

Feel free to leave me a comment if you want to have other type of stocks or indicators. I also welcome all feedback and suggestions so that I can work with the developer to improve it.