Has anybody made a stock ticker

20 views
Skip to first unread message

shirish शिरीष

unread,
Mar 23, 2018, 4:18:09 PM3/23/18
to plug, cofsug
Using part of my blog post for sharing both the rationale and what is needed.

For quite sometime now, I had been thinking of how to get a stock
ticker working in GNU/Linux. I know and knew lot of large financial
institutions use GNU/Linux as finances are secrets and GNU/Linux is or
can be great at keeping secrets. Hence I was under probably the false
impression, I would just need to go to github or some code-sharing
place and somebody would already have done something. For
self-security as I’m a freelancer (we don’t have pensions in our part
of world apart from Government and the defense services) I have
invested some money in equities and some in Mutual Funds. Now the
Bombay Stock Exchange lists both equities and mutual funds on its
exchange. Now tuning on TV and trying to figure out stocks and what
they are listing is a major time sink. I don’t need real-time quotes.
There are quite a few services which give near-realtime quotes but
even they are a bit of overkill for what I have in my mind.

I just need a ticker which takes the BSE codes and gives near-realtime
quotes and displays it in the ticker. Joey Hess made one and its lying
orphaned in debian.

That doesn’t really work for me. I did try the example as given by joeyh in

/usr/share/doc/ticker/examples$ cat sysinfo-ticker

while it works on the console on the upper part, I need it to be more
of a stand-alone ticker which scrolls at the bottom near the bottom
panel.

Brownie points if it’s able to store the output to another .json file
along with IST time-stamp. Better if it’s also able to share the
volume of trade. BSE does give all this info. for free in
near-realtime quotes as money is made by big punters who do real-time
purchase and sale within the working day itself.

Just to check out the competition, I did a search-engine fu search to
see if there is a ticker for MS-Windows and somebody already made it.

https://bse-nse-stock-ticker.apponic.com/

If this is made possible and maybe at some future date might do a
gnuplot once enough data is there.

For the data part, there are two competing services so it might be
possible to use one as primary source and the other as secondary or
fallback resource.

http://www.apidatafeed.com/product/equity

https://www.quandl.com/data/BSE-Bombay-Stock-Exchange

As shared, I did scour github.com but not sourceforge.net, mercurial
or the hundred of code-sharing sites. I did however try our different
keywords and re-arrangement of keywords in search-engines in the hopes
I get a foss BSE sticker but didn't hit anything.

I did see another one at jstock.org and
https://github.com/yccheok/jstock but github.com software doesn't give
any instructions for self-compile or/and testing. Also don't
implicitly trust random .bin files.

While I don't really care whether it's written in ruby, python,
openjdk or some other fancy computer language as Debian has most other
languages covered (only exceptions are C# and Oracle Java, won't run
them)

FWIW, I am only looking for GPL, AGPL or any of the licenses listed on
https://www.debian.org/legal/licenses/ although do prefer GPL, AGPL or
Modified BSD License as these are the most common types of licenses I
have worked it.

If any students do attempt to do it, would suggest looking at how
joeyh has done with the ticker before trying their own.

--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8

shirish शिरीष

unread,
Mar 26, 2018, 5:52:58 PM3/26/18
to plug...@plug.org.in, cofsug
On 26/03/2018, Sudhanwa Jogalekar <sudhan...@gmail.com> wrote:
> Hi,
>
> On Sat, Mar 24, 2018 at 1:48 AM, shirish शिरीष <shiri...@gmail.com>
> wrote:
>
>> Using part of my blog post for sharing both the rationale and what is
>> needed.
>>
>> For quite sometime now, I had been thinking of how to get a stock
>> ticker working in GNU/Linux. I know and knew lot of large financial
>> institutions use GNU/Linux as finances are secrets and GNU/Linux is or
>> can be great at keeping secrets. Hence I was under probably the false
>> impression, I would just need to go to github or some code-sharing
>> place and somebody would already have done something. For
>> self-security as I’m a freelancer (we don’t have pensions in our part
>> of world apart from Government and the defense services) I have
>> invested some money in equities and some in Mutual Funds. Now the
>> Bombay Stock Exchange lists both equities and mutual funds on its
>> exchange. Now tuning on TV and trying to figure out stocks and what
>> they are listing is a major time sink. I don’t need real-time quotes.
>> There are quite a few services which give near-realtime quotes but
>> even they are a bit of overkill for what I have in my mind.
>>
>> I just need a ticker which takes the BSE codes and gives near-realtime
>> quotes and displays it in the ticker. Joey Hess made one and its lying
>> orphaned in debian.
>>
>
>
> I believe you will be connected to the net all the time when using such
> tickers. Also assuming you will be using some browser for the ticker.
>
> A simple google search for "Indian stock market ticker
> {desktop/android/....} gave me enough sensible results. Many of these
> tickers can be customised as per user needs.
>
> Not able to understand why the ticker has to be under FOSS. In any case,
> live data is freely available but need to pay for the same to get it in
> your required formats.
>
> Regards
> -Sudhanwa
>

Not necessary, as shared before on the thread, even EOD (End of Day)
tickers would be good enough.

Also the links I shared for the data feed, as far as I could tell, you
don't need to pay for them unless and until you want 'live' data feed.
The 15-30 minute delayed data feed is useless for any 'real trader' as
trades happen in seconds or even micro-seconds if you look into
'algorithmic trading'

https://www.livemint.com/Search/Link/Keyword/Algorithmic%20trading

As far as the question of having it under foss, it's simple, the data
is then at the user's end and as such is able to play/understand it a
little bit.
Reply all
Reply to author
Forward
0 new messages