API for the Nigerian Stock Exchange

1,328 views
Skip to first unread message

Salaam Kehinde

unread,
Jun 16, 2016, 5:59:34 PM6/16/16
to GDG Lagos
Hello Everyone, 
Does anyone know of an API that grants access to data from the Nigerian stock exchange. I have been checking and most of them are very expensive (Bloomberg) or don't have data on the Nigerian stock exchange. I'd really appreciate the help.

Don Onwunumah

unread,
Jun 16, 2016, 7:39:36 PM6/16/16
to lagos...@googlegroups.com
Welcome ot my world. 

Check here:

For near real time, as far as I can tell, it's based on FIX (Level 1&2), not sure of the rest. You can just call them and enquire.

#personal rant
I don't think they do a free service, this is money we are talking about after all, also, banks, stock exchanges, etc (worldwide) are not known to embrace the web that easily, the concept of an API for them is FIX, SWIFT etc, open enough to shut you up, but archaic and obscure enough to put off the slacker and keep the consultants in pay.

Good luck.

If you are serious about it, hit me up on Email.

Don

On Thu, Jun 16, 2016 at 10:42 PM, Salaam Kehinde <kehind...@gmail.com> wrote:
Hello Everyone, 
Does anyone know of an API that grants access to data from the Nigerian stock exchange. I have been checking and most of them are very expensive (Bloomberg) or don't have data on the Nigerian stock exchange. I'd really appreciate the help.

--
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
 
[ Quicklinks ]
Join on G+: http://goo.gl/wKOuQ
Mailing List:http://bit.ly/lagosgtuggroup
Unsubscribe: http://goo.gl/0y8TB
Blog: http://gdglagos.com
Twitter Handle: http://twitter.com/@gtuglagos
 
---_---_---_---_---_---_---_---_---_---_---_---_---_---_---
---
You received this message because you are subscribed to the Google Groups "GDG Lagos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lagos-gtug+...@googlegroups.com.
To post to this group, send email to lagos...@googlegroups.com.
Visit this group at https://groups.google.com/group/lagos-gtug.
For more options, visit https://groups.google.com/d/optout.

Truston Ailende

unread,
Jun 16, 2016, 10:06:44 PM6/16/16
to lagos...@googlegroups.com
A long time ago, I worked on a project like this. What we did was build our own parser for the entire site and presented the data the way we wanted. It was my first J2ME application and I fell sick at the end of the project so please be warned.

An older wiser me would consider using data scrapping and create my own API from it. However, once the structure of the side changes you must start again. I will cover the data scrapping part. We have already had a meetup on API design and creation.

I will assume no one from the NSE is listening so here is how I would go about it.
  1. http://www.nse.com.ng/Listings-site/listed-securities/listed-companies is a list of companies listed on the Nigerian Stock Exchange. This is your first data point so you need to parse it and get the values you want. You can use anything. Most important is the Ticker column
  2. The marque (scrolling text) at the top runs a get service that looks like this: www.nse.com.ng/Issuers-section/listed-securities/company-details?symbol=? If you did step 1, your ticker value would be your symbol=Ticker. So to get the value for 7UP you would enter: http://www.nse.com.ng/Issuers-section/listed-securities/company-details?symbol=7UP
  3. Now that you understand the basic structure, scrape as you want and sent all the values into a format that you understand
If you decide to create an API, remember me in your kingdom. However you solve this problem please let us know how you did it.

Virus-free. www.avast.com
--
Regards,

Truston Ailende

Faith begins when statistics ends.

mohammed ajala

unread,
Jun 17, 2016, 1:59:16 AM6/17/16
to lagos...@googlegroups.com
I tried worked on this project sometime ago too, I observed there are lots of abandon projects on the NSE API, apart from cost my guess is perhaps there is a legal impediment on scraping but I did not investigate. If you do find out please report back. 

Like Truston mentioned, scraping the thing is not easy. The ticker I tried is the one one I found on most sites. its http://www.easykobo.com/GetQuotes.aspx?s=AFRPAINTS , I also assumed perhaps this is "free" for use. 

Good Luck. 

Oyewale Oyediran

unread,
Jun 17, 2016, 6:28:12 AM6/17/16
to lagos...@googlegroups.com

- Best Regards
Oyewale Oyediran
07062673100

Tunde Edurecords

unread,
Jun 17, 2016, 6:44:33 AM6/17/16
to lagos...@googlegroups.com
You need to be specific what you are looking for and type of data. We have access and API to real time feed. 

You can contact me through tund...@gmail.com for further information.

thanks

For: EduRecords Limited

Ogunlade Olatunde

Managing Director

Phone: +234 802 590 0678 DL

Other Email: tu...@edurecords.com

Skype: tundeemma

website: www.edurecords.com

facebook: www.facebook.com/edurecordsltd

twitter: twitter.com/edurecords

 

newlogo

Educational Records Tracking and Performance Analysis Solution

Promoting Education that Pays for Itself

On Thu, Jun 16, 2016 at 10:42 PM, Salaam Kehinde <kehind...@gmail.com> wrote:
Hello Everyone, 
Does anyone know of an API that grants access to data from the Nigerian stock exchange. I have been checking and most of them are very expensive (Bloomberg) or don't have data on the Nigerian stock exchange. I'd really appreciate the help.

--

Jason Jolaoso

unread,
Jun 17, 2016, 6:44:34 AM6/17/16
to lagos...@googlegroups.com
@Truston:

RE:
-----------

It was my first J2ME application and I fell sick at the end of the project so please be warned.
-------------

Lolz....... glad you made it through the project.

Such challenges make or mar you . And it goes to show there is no shortcut to success.

Nice to see the battle scars once in a while.

Best.






Truston Ailende

unread,
Jun 17, 2016, 8:17:53 AM6/17/16
to lagos...@googlegroups.com
@Oyewale I know about the project by Celestine. Why I never recommended it was because during a presentation I attended, it was mentioned that the data is manually uploaded. The project is over 2 years old so I leave it to you to guess how old your data would be.

@Tunde such information should be shared. If it is publicly available, do share it. I have a special nostalgia for this project. I had already considered building my own web scrapper so if you could save me the trouble, I would be grateful.

@Jason it was in 2008. The challenge taught me about the magic of commitment. In truth it made me.

To everyone else, I apologize for being a bot in modern times. I hope one day my calendar clears so that I can attend a Lagos GTUG event.

Salaam Kehinde

unread,
Jun 18, 2016, 12:12:24 AM6/18/16
to GDG Lagos
Wow thanks for the help everyone. I did not really anticipate this amount of work(the site scraping). I just wanted to work on a very small proof of concept project. Thanks a lot. I'll get back with any relevant info.

@Truston I checked out @Tunde's offer and it's by the company Edurecords it'll most likely not be free.

Thanks for the contribution everyone

Truston Ailende

unread,
Jun 18, 2016, 5:37:20 AM6/18/16
to lagos...@googlegroups.com
Thanks for the mention @Salaam.

The hardest lesson I have learned as a tech entrepreneur is the relationship between time and money. It you will spend the time on it, you won't have to pay so much money.

Today is 12 days to the end of this month, if you decide to you could create the web scrapper this month and use the next month to make it into an API.

Do it before I decide to. This was the basis of my very first mobile application so I have so nostalgia over it.

Have a great weekend.

Virus-free. www.avast.com

--
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
 
[ Quicklinks ]
Join on G+: http://goo.gl/wKOuQ
Mailing List:http://bit.ly/lagosgtuggroup
Unsubscribe: http://goo.gl/0y8TB
Blog: http://gdglagos.com
Twitter Handle: http://twitter.com/@gtuglagos
 
---_---_---_---_---_---_---_---_---_---_---_---_---_---_---
---
You received this message because you are subscribed to the Google Groups "GDG Lagos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lagos-gtug+...@googlegroups.com.
To post to this group, send email to lagos...@googlegroups.com.
Visit this group at https://groups.google.com/group/lagos-gtug.
For more options, visit https://groups.google.com/d/optout.

Salaam Kehinde

unread,
Jun 18, 2016, 7:18:43 AM6/18/16
to GDG Lagos
Thanks

Michael Olafusi

unread,
Feb 23, 2017, 1:25:14 PM2/23/17
to GDG Lagos
You can access APIs for the Nigerian Stock Exchange, FX rates for over 40 countries, World Stock Indices and many more valuable data at www.nigerianelite.com/help

Salaam Kehinde

unread,
Feb 23, 2017, 5:41:03 PM2/23/17
to lagos...@googlegroups.com
This is really great. I really appreciate it

--
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
 
[ Quicklinks ]
Join on G+: http://goo.gl/wKOuQ
Mailing List:http://bit.ly/lagosgtuggroup
Unsubscribe: http://goo.gl/0y8TB
Blog: http://gdglagos.com
Twitter Handle: http://twitter.com/@gtuglagos
 
---_---_---_---_---_---_---_---_---_---_---_---_---_---_---
---
You received this message because you are subscribed to a topic in the Google Groups "GDG Lagos" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lagos-gtug/C8jFsmw_gXg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lagos-gtug+unsubscribe@googlegroups.com.

To post to this group, send email to lagos...@googlegroups.com.
Visit this group at https://groups.google.com/group/lagos-gtug.
For more options, visit https://groups.google.com/d/optout.



--
Salaam Azeez Kehinde,Secretary
IEEE Students Branch,
University of Lagos, Nigeria

Ayo Adesokan

unread,
Feb 23, 2017, 6:04:44 PM2/23/17
to lagos...@googlegroups.com
Yeah, great to know APIs like this exists. This is why it is important to ask and share ideas.

You received this message because you are subscribed to the Google Groups "GDG Lagos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lagos-gtug+unsubscribe@googlegroups.com.

To post to this group, send email to lagos...@googlegroups.com.
Visit this group at https://groups.google.com/group/lagos-gtug.
For more options, visit https://groups.google.com/d/optout.



--

  
Reply all
Reply to author
Forward
0 new messages