The Investor Sentiment - Equity and investments forum for Sri Lankans



Join the forum, it's quick and easy

The Investor Sentiment - Equity and investments forum for Sri Lankans

The Investor Sentiment - Equity and investments forum for Sri Lankans

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The Investor Sentiment - Equity and investments forum for Sri Lankans

The Lankan Investor Forum - A more respectable and reasonable place for members to discuss matters regarding the CSEThe Lankan Investor Forum - A more respectable and reasonable place for members to discuss matters regarding the CSE

Please send an email to contact.lankaninvestor@gmail.com if you face any technical difficulties when posting

Latest topics

» CIFC Dumps to Expand Your Possibilities to Pass Your Exam
Building an automated trading system from scratch EmptyFri Jul 19, 2024 10:30 am by faithhharris

» CCS.N0000 ( Ceylon Cold Stores)
Building an automated trading system from scratch EmptyWed Mar 20, 2024 11:31 am by Hawk Eye

» Sri Lanka plans to allow tourists from August, no mandatory quarantine
Building an automated trading system from scratch EmptyWed Sep 13, 2023 12:16 pm by lauryfriese

» When Will It Be Safe To Invest In The Stock Market Again?
Building an automated trading system from scratch EmptyWed Apr 19, 2023 6:41 am by කිත්සිරි ද සිල්වා

» Dividend Announcements
Building an automated trading system from scratch EmptyWed Apr 12, 2023 5:41 pm by කිත්සිරි ද සිල්වා

» MAINTENANCE NOTICE / නඩත්තු දැනුම්දීම
Building an automated trading system from scratch EmptyThu Apr 06, 2023 3:18 pm by කිත්සිරි ද සිල්වා

» ඩොලර් මිලියනයක මුදල් සම්මානයක් සහ “ෆීල්ඩ්ස් පදක්කම” පිළිගැනීම ප්‍රතික්ෂේප කළ ගණිතඥයා
Building an automated trading system from scratch EmptySun Apr 02, 2023 7:28 am by කිත්සිරි ද සිල්වා

» SEYB.N0000 (Seylan Bank PLC)
Building an automated trading system from scratch EmptyThu Mar 30, 2023 9:25 am by yellow knife

» Here's what blind prophet Baba Vanga predicted for 2016 and beyond: It's not good
Building an automated trading system from scratch EmptyThu Mar 30, 2023 9:25 am by HaeroMaero

» The Korean Way !
Building an automated trading system from scratch EmptyWed Mar 29, 2023 7:09 am by කිත්සිරි ද සිල්වා

» In the Meantime Within Our Shores!
Building an automated trading system from scratch EmptyMon Mar 27, 2023 5:51 pm by කිත්සිරි ද සිල්වා

» What is Known as Dementia?
Building an automated trading system from scratch EmptyFri Mar 24, 2023 10:09 am by කිත්සිරි ද සිල්වා

» SRI LANKA TELECOM PLC (SLTL.N0000)
Building an automated trading system from scratch EmptyMon Mar 20, 2023 5:18 pm by කිත්සිරි ද සිල්වා

» THE LANKA HOSPITALS CORPORATION PLC (LHCL.N0000)
Building an automated trading system from scratch EmptyMon Mar 20, 2023 5:10 pm by කිත්සිරි ද සිල්වා

» Equinox ( වසන්ත විෂුවය ) !
Building an automated trading system from scratch EmptyMon Mar 20, 2023 4:28 pm by කිත්සිරි ද සිල්වා

» COMB.N0000 (Commercial Bank of Ceylon PLC)
Building an automated trading system from scratch EmptySun Mar 19, 2023 4:11 pm by කිත්සිරි ද සිල්වා

» REXP.N0000 (Richard Pieris Exports PLC)
Building an automated trading system from scratch EmptySun Mar 19, 2023 4:02 pm by කිත්සිරි ද සිල්වා

» RICH.N0000 (Richard Pieris and Company PLC)
Building an automated trading system from scratch EmptySun Mar 19, 2023 3:53 pm by කිත්සිරි ද සිල්වා

» Do You Have Computer Vision Syndrome?
Building an automated trading system from scratch EmptySat Mar 18, 2023 7:36 am by කිත්සිරි ද සිල්වා

» LAXAPANA BATTERIES PLC (LITE.N0000)
Building an automated trading system from scratch EmptyThu Mar 16, 2023 11:23 am by කිත්සිරි ද සිල්වා

» What a Bank Run ?
Building an automated trading system from scratch EmptyWed Mar 15, 2023 5:33 pm by කිත්සිරි ද සිල්වා

» 104 Technical trading experiments by HUNTER
Building an automated trading system from scratch EmptyWed Mar 15, 2023 4:27 pm by katesmith1304

» GLAS.N0000 (Piramal Glass Ceylon PLC)
Building an automated trading system from scratch EmptyWed Mar 15, 2023 7:45 am by කිත්සිරි ද සිල්වා

» Cboe Volatility Index
Building an automated trading system from scratch EmptyTue Mar 14, 2023 5:32 pm by කිත්සිරි ද සිල්වා

» AHPL.N0000
Building an automated trading system from scratch EmptySun Mar 12, 2023 4:46 pm by කිත්සිරි ද සිල්වා

» TJL.N0000 (Tee Jey Lanka PLC.)
Building an automated trading system from scratch EmptySun Mar 12, 2023 4:43 pm by කිත්සිරි ද සිල්වා

» CTBL.N0000 ( CEYLON TEA BROKERS PLC)
Building an automated trading system from scratch EmptySun Mar 12, 2023 4:41 pm by කිත්සිරි ද සිල්වා

» COMMERCIAL DEVELOPMENT COMPANY PLC (COMD. N.0000))
Building an automated trading system from scratch EmptyFri Mar 10, 2023 4:43 pm by yellow knife

» Bitcoin and Cryptocurrency
Building an automated trading system from scratch EmptyFri Mar 10, 2023 1:47 pm by කිත්සිරි ද සිල්වා

» CSD.N0000 (Seylan Developments PLC)
Building an automated trading system from scratch EmptyFri Mar 10, 2023 10:38 am by yellow knife

» PLC.N0000 (People's Leasing and Finance PLC)
Building an automated trading system from scratch EmptyThu Mar 09, 2023 8:02 am by කිත්සිරි ද සිල්වා

» Bakery Products ?
Building an automated trading system from scratch EmptyWed Mar 08, 2023 5:30 pm by කිත්සිරි ද සිල්වා

» NTB.N0000 (Nations Trust Bank PLC)
Building an automated trading system from scratch EmptySun Mar 05, 2023 7:24 am by කිත්සිරි ද සිල්වා

» Going South
Building an automated trading system from scratch EmptySat Mar 04, 2023 10:47 am by කිත්සිරි ද සිල්වා

» When Seagulls Follow the Trawler
Building an automated trading system from scratch EmptyThu Mar 02, 2023 10:22 am by කිත්සිරි ද සිල්වා

» Re-activating
Building an automated trading system from scratch EmptySat Feb 25, 2023 5:12 pm by කිත්සිරි ද සිල්වා

» අපි තමයි හොඳටම කරේ !
Building an automated trading system from scratch EmptyTue Feb 14, 2023 3:54 pm by ruwan326

» මේ අර් බුධය කිසිසේත්ම මා විසින් නිර්මාණය කල එකක් නොවේ
Building an automated trading system from scratch EmptyTue Jan 03, 2023 6:43 pm by ruwan326

» SAMP.N0000 (Sampath Bank PLC)
Building an automated trading system from scratch EmptyWed Nov 30, 2022 8:24 am by කිත්සිරි ද සිල්වා

» APLA.N0000 (ACL Plastics PLC)
Building an automated trading system from scratch EmptyFri Nov 18, 2022 7:49 am by කිත්සිරි ද සිල්වා

» AVOID FALLING INTO ALLURING WEEKEND FAMILY PACKAGES.
Building an automated trading system from scratch EmptyWed Nov 16, 2022 9:28 pm by කිත්සිරි ද සිල්වා

» Banks, Finance & Insurance Sector Chart
Building an automated trading system from scratch EmptyTue Nov 15, 2022 5:26 pm by කිත්සිරි ද සිල්වා

» VPEL.N0000 (Vallibel Power Erathna PLC)
Building an automated trading system from scratch EmptySun Nov 13, 2022 12:15 pm by කිත්සිරි ද සිල්වා

» DEADLY COCKTAIL OF ISLAND MENTALITY AND PARANOID PERSONALITY DISORDER MIX.
Building an automated trading system from scratch EmptyMon Nov 07, 2022 6:36 pm by කිත්සිරි ද සිල්වා

» WATA - Watawala
Building an automated trading system from scratch EmptySat Nov 05, 2022 8:44 am by කිත්සිරි ද සිල්වා

» KFP.N0000(Keels Food Products PLC)
Building an automated trading system from scratch EmptySat Nov 05, 2022 8:42 am by කිත්සිරි ද සිල්වා

» Capital Trust Broker in difficulty?
Building an automated trading system from scratch EmptyFri Oct 21, 2022 5:25 pm by කිත්සිරි ද සිල්වා

» IS PIRATING INTELLECTUAL PROPERTY A BOON OR BANE?
Building an automated trading system from scratch EmptyThu Oct 20, 2022 10:13 am by කිත්සිරි ද සිල්වා

» What Industry Would You Choose to Focus?
Building an automated trading system from scratch EmptyTue Oct 11, 2022 6:39 pm by කිත්සිරි ද සිල්වා

» Should I Stick Around, or Should I Follow Others' Lead?
Building an automated trading system from scratch EmptyTue Oct 11, 2022 9:07 am by කිත්සිරි ද සිල්වා

Disclaimer


Information posted in this forum are entirely of the respective members' personal views. The views posted on this open online forum of contributors do not constitute a recommendation buy or sell. The site nor the connected parties will be responsible for the posts posted on the forum and will take best possible action to remove any unlawful or inappropriate posts.
All rights to articles of value authored by members posted on the forum belong to the respective authors. Re-using without the consent of the authors is prohibited. Due credit with links to original source should be given when quoting content from the forum.
This is an educational portal and not one that gives recommendations. Please obtain investment advises from a Registered Investment Advisor through a stock broker

+7
Yin-Yang
nihal123
pjrngroup
CK
කිත්සිරි ද සිල්වා
slstock
janith
11 posters

    Building an automated trading system from scratch

    janith
    janith


    Posts : 9
    Join date : 2018-04-05
    Location : Colombo

    Building an automated trading system from scratch Empty Building an automated trading system from scratch

    Post by janith Thu Apr 05, 2018 3:01 pm

    I'm sorry if this seems like a question that I can easily find the answer to somewhere around this forum.

    My goal is to try and build an automated trading system from scratch (where I can essentially press a button to start the program and it will trade throughout the market hours before I close it). I'd prefer being able to use Python for this, but I honestly not sure where I have to start from.

    I see a lot of posts and books about Algo trading strategies but I want to actually build a system that trades it.

    Are there any specific resources (online courses, books, websites) you guys would recommend for figuring this out?

    Also, what are the specific parts I need? I know I need something to gather data, parse the data, run the strategy on the data, and send orders. Is that it?

    really appreciate any assistance/ wisdom you can pass on.

    p.s-dear admin, i'm not sure if this question should be posted on this thread or any other. please move or direct me to the correct forum thread. Thanx
    slstock
    slstock
    Veteran
    Veteran


    Posts : 6216
    Join date : 2014-06-12

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by slstock Thu Apr 05, 2018 3:10 pm

    Welcome to the forum Janith.

    1) Are you looking at building a system to trade at CSE?


    2) If so, there are bottleneck you have to overcome.

    a) At CSE, without an online account through a broker you are not allowed to trade. Anycase you need a CSE/Broker Account ID to trade.

    b) The CSE realtime available share price/trading data was presented though a document ( it used to be xls not sure now) . You need to find such is on CSE and take a look what you can do with it.






    _________________
    Never listen to anyone including myself without your own study. Only few truly genuine people exist in this world.
    Please read : https://forum.lankaninvestor.com/t1548-important-warning-and-message
    ---------
    janith
    janith


    Posts : 9
    Join date : 2018-04-05
    Location : Colombo

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by janith Thu Apr 05, 2018 3:23 pm

    Hi slstock,
    Thank you for the reply.

    yes i'm currently looking at CSE.
    then definitely i would have to look in to a way of getting real-time data since the project i'm planning is more in to HFT.



    කිත්සිරි ද සිල්වා
    කිත්සිරි ද සිල්වා
    Top contributor
    Top contributor


    Posts : 9679
    Join date : 2014-02-23
    Age : 66
    Location : රජ්ගම

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by කිත්සිරි ද සිල්වා Thu Apr 05, 2018 3:33 pm

    Welcome to the Forum.
    Why do you want to reinvent the Wheel?
    Let us know, please.
    (I know nothing about the subject but I can always act like the Devil's advocate).


    _________________
    I am the wisest man alive, for I know one thing, and that is that I know nothing.
    Socrates
    janith
    janith


    Posts : 9
    Join date : 2018-04-05
    Location : Colombo

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by janith Thu Apr 05, 2018 4:01 pm

    Hi කිත්සිරි,

    Not exactly to reinvent the wheel, but to evolve it a bit Smile
    Well simply to put, I'm trying to test my own algorithm.
    I'm not sure if i would be able to use my algorithm with any of the current trading applications available locally.

    Also i'm planning to integrate a bot to continuously run the algorithm.
    කිත්සිරි ද සිල්වා
    කිත්සිරි ද සිල්වා
    Top contributor
    Top contributor


    Posts : 9679
    Join date : 2014-02-23
    Age : 66
    Location : රජ්ගම

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by කිත්සිරි ද සිල්වා Thu Apr 05, 2018 4:25 pm

    Thanks and Good Luck.
    I am sure there will be someone here who could help you more.
    (I am just a Sarong clad simpleton who uses his Gut feeling for decision making).
    janith wrote:Hi කිත්සිරි,

    Not exactly to reinvent the wheel, but to evolve it a bit Smile
    Well simply to put, I'm trying to test my own algorithm.
    I'm not sure if i would be able to use my algorithm with any of the current trading applications available locally.

    Also i'm planning to integrate a bot to continuously run the algorithm.


    _________________
    I am the wisest man alive, for I know one thing, and that is that I know nothing.
    Socrates
    CK
    CK
    Active Member
    Active Member


    Posts : 1393
    Join date : 2015-11-01

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by CK Thu Apr 05, 2018 8:43 pm

    Janith, bots are using in binary options and forex tradings. Can you modify a above bot to use in cse? Anyhow we have to give the share name manually to bot to do trading . Otherwise, the system may get very complex.
    What are the criterias you are going to give to bot??
    janith
    janith


    Posts : 9
    Join date : 2018-04-05
    Location : Colombo

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by janith Thu Apr 05, 2018 10:08 pm

    Hi CK,

    I'm currently monitoring some reference models which I can absorb in to my project. And yes I believe I can get the bot to work on CSE.

    As for the share name and other details, I expect there should be an easier way to import financial data to my coding than a manual entry.
    avatar
    pjrngroup


    Posts : 444
    Join date : 2015-11-01

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by pjrngroup Thu Apr 05, 2018 10:27 pm

    Welcome to the forum Janith.

    My two cents below,

    I used to trade in the forex market earlier. There are so many automated trading system in the forex market. but i have not seen or heard anyone using that in CSE. i am only in CSE for last two+ years.

    And i doubt the online trading platforms in Srilanka is capable of accommodating AUTOMATED TRADING SYSTEM. This is not to de motivate you. May be they don't have it so far, because no one needed it so far. Since you are in a mission to invent it, it would be beneficial for all of us in the forum.

    Good luck.

    nihal123
    nihal123
    Top contributor
    Top contributor


    Posts : 6327
    Join date : 2014-02-24
    Age : 58
    Location : Waga

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by nihal123 Thu Apr 05, 2018 10:54 pm

    Janith,

    Welcome to the Forum,
    If you need historical trading data of CSE, I can give you ( 1991 to 2012 ) There are 30 xls files................

    Very Happy
    janith
    janith


    Posts : 9
    Join date : 2018-04-05
    Location : Colombo

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by janith Fri Apr 06, 2018 8:45 am

    @pjrngroup
    Thank you for your insights and advise.
    I'll rather take your constructive feedback than someone just saying 'NO IT CANNOT BE DONE'.

    @nihal123
    Thank you so much for the offer.
    What will it cost for me to get the data from you? Smile
    nihal123
    nihal123
    Top contributor
    Top contributor


    Posts : 6327
    Join date : 2014-02-24
    Age : 58
    Location : Waga

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by nihal123 Fri Apr 06, 2018 11:11 am

    janith wrote:@pjrngroup
    Thank you for your insights and advise.
    I'll rather take your constructive feedback than someone just saying 'NO IT CANNOT BE DONE'.

    @nihal123
    Thank you so much for the offer.
    What will it cost for me to get the data from you? Smile

    රැපියල් ශත මත, මිළ තබන සමාජයක ඔබගේ පැනය ගැන අමනාප නොවෙමි.
    එය සියල්ලන්ගේම යහපත පිණිස නොමිලයෙ ලබා දෙමි.
    මා එය ලබාගත්තේ CSE  තුලින්   නොමිලයෙමය,
    ඔබගේ ඊමේල් ලිපිනය දන්වන්න.


    Very Happy
    janith
    janith


    Posts : 9
    Join date : 2018-04-05
    Location : Colombo

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by janith Fri Apr 06, 2018 11:25 am

    @nihal123
    janithds2cash at gmail dot com
    (apologies for inputting the address like this as the system says that I can't put any e-mail addresses until 7 days from registration)

    Greatly appreciate your support. Having this data would definitely ease up some of my burdens on this project. Smile cheers
    nihal123
    nihal123
    Top contributor
    Top contributor


    Posts : 6327
    Join date : 2014-02-24
    Age : 58
    Location : Waga

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by nihal123 Fri Apr 06, 2018 12:22 pm

    ඔබගේ ඊමේල් ලිපිනයට එව්වා. බලන්න එය ඔබට උපකාරයක් වේවි ද කියලා ? කොහොමඳ හොඳද ?

    19 MB zip file
    CK
    CK
    Active Member
    Active Member


    Posts : 1393
    Join date : 2015-11-01

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by CK Sat Apr 07, 2018 4:26 am

    Dear janith, if you try to build a automated trading system, what's the use of past data? Combine some tech indicators and volume trade, and execute buy sell according to that. This is only trading not investing.. isn't it?
    (I think for long term investments, shouldn't use a trading system. Should be hand picked)
    janith
    janith


    Posts : 9
    Join date : 2018-04-05
    Location : Colombo

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by janith Sat Apr 07, 2018 7:11 am

    @nihal123,
    Thank you very much.
    The data set is very useful. I may have to clean it a bit. But you have definitely saved a lot of time for me.

    @CK,
    Past data is to test my algorithm. It is not necessarily just buy and sell. My algo will be designed to control the risk as well. Having an algo just to buy and sell would not be useful as I may end up loosing money with commissions for each trade. So i'll have to design it such a way that the algo has been fed with accurate possibilities of profits and losses so that it can avoid unwanted deals.
    Yin-Yang
    Yin-Yang


    Posts : 1321
    Join date : 2016-03-12

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by Yin-Yang Sat Apr 07, 2018 10:45 am

    Very Good Janith Baba,

    This is exactly the right way all world famous multi billionaire investors started.

    You can follow the following steps and become the Universe's best automated trader in CSE.

    + Summarize your trading algorithm in to 8 steps
    + Get hold of a broker account with DirectFN trading client
    + Use its conditional trading module and APIs to build an automating script
    + Execute the newly built script
    + Wait and see what happens
    + Notice some error executions done by the script
    + Correct the script algorithm
    + Execute it
    + Notice now the program works right
    + Notice that auto trades didn't bring the intended proftis
    + Do some adjustments in the script and execute
    ++ Wow! the program brings its first profit trades
    + Enjoy your success
    + Have a party and plan what would you do with all the profits going to be generated by your program
    + Plan your dreams of how to spend all unlimited money going to pour in
    + Put more money and plan for bigger automated trading
    +But; Notice that something has gone wrong
    + Notice that intended profits are not coming anymore, because something has gone wrong with the market
    + Yes something is wrong with the market
    + Market is not behaving rationally
    + Notice your frustration
    ++Then, Start your next threat on seeking help again from gurus in this forum

    See ya later buddy!!
    CK
    CK
    Active Member
    Active Member


    Posts : 1393
    Join date : 2015-11-01

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by CK Sun Apr 08, 2018 8:08 pm

    Still I can't understand why you are using past data for trading..First identify what's trading and investing..
    Brokerage is very primary thing and you can easily take it in to your system mate.
    If you don't need to take unnecessary or necessary risk, beter go for long term investments (But you should ready to lock your money atleast 5 years)
    Anyhow for me long term investments are the most riskier ones as how we know what happen to the company after 5 or 10 years..
    janith
    janith


    Posts : 9
    Join date : 2018-04-05
    Location : Colombo

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by janith Mon Apr 09, 2018 8:54 am

    Hi CK,

    I also agree with you on the longer holdups. But my calculations are based on specific market trends and i'm trying to test my algo using past data before I implement it for live trading.

    Once I do some backtesting with past data, I can at least check how my algorithm is holding up with the market and also i'll be able to tweak any performance and risk issues.
    slstock
    slstock
    Veteran
    Veteran


    Posts : 6216
    Join date : 2014-06-12

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by slstock Mon Apr 09, 2018 9:29 am

    Janith,

    1) Didn't want to say this before but we did a project like this maybe 10 year ago.  We used AI training of software using past data to predict short term  trades at CSE.  

    2) Anyway as there are lot of feedback on the thread and  you seems to be knowing what you want to do, I will eagerly await more details of your approach and success ( I mean the technical side how you did it).

    3) Just a tip . I mentioned this before .  I see 2 other people also mentioned it in different ways but you may have not picked  up the fact

    At CSE, there are no public accesible  APIs  ( to my knowledge) just so anyone can access the ATS ( trading  server)  for obvious reasons.  

    So maybe need to  find a Trading software ( though a broker) with a good API if you
    want to excute real time trades . ( But don't do it at the start as it going to cost you)
    Direct FN is a good start as it has some APIs.

    I am not sure , Python can be used to access it though.


    4) Best to call CSE also to find out latest developments.
       The CSE  trading server was updated year or 2 ago.
       How transactions done were changed from long ago.
       

    Anycase, do update this thread with your progress.
    I would personally like to specially know both the approach and specially the techincal details  of how you did it.

    Good luck

    ps : You might find Ying Yang comment a bit sarcastic ( as you have not met him before),
    but I can tell you  there are certain truths in it.
     
     I will wait for you own discovery , success/failure  and reporting of such Smile


    _________________
    Never listen to anyone including myself without your own study. Only few truly genuine people exist in this world.
    Please read : https://forum.lankaninvestor.com/t1548-important-warning-and-message
    ---------
    janith
    janith


    Posts : 9
    Join date : 2018-04-05
    Location : Colombo

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by janith Mon Apr 09, 2018 10:22 am

    Hi slstock,

    Hahaha
    yes I saw that sarcasm coming at me a mile away Laughing lol!
    and I also agree with some (or most) of them pointers he has highlighted. To be honest, i've kept it as a checklist to tick one by one off Wink

    As for your feedback, thank you for giving me a highlight of your experiences.

    I've already got a trading platform (an open source platform; but still adjusting it to suite my requirements though) and my next obstacle would be to find a broker who I can integrate. Since i've also done my research, it seems that currently CSE does not support direct individual access.

    I think the only 2 available (or at least most prominent) players to provide online trading in Sri Lanka are Direct FN and ATrad.
    So I think I'll have to check the feasibility of integrating their API. I'm currently working with python and C#. So I hope that integration should not make extra workload for me since Python and C# are like 2 of the most preferred languages when it comes to Algo trading or Investment/trading.

    I will anyway keep you guys posted on the progress of this project. I know that I will definitely run in to some problems in coming days and better to have some 'know how' people around to get some help.

    Thanx
    slstock
    slstock
    Veteran
    Veteran


    Posts : 6216
    Join date : 2014-06-12

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by slstock Mon Apr 09, 2018 10:46 am

    Btw there is person named Dileepa, who tried some CSE related software as such.
     I hope he shows up and comments as he can give you some tips.

    I also like to hear his view on LLUB situation now as bonus discussion.
    He was interested in LLUB and did good discussion on it.
    ( When LLUB was in the Rs 300 before split)


    Last edited by slstock on Mon Apr 09, 2018 11:01 am; edited 2 times in total


    _________________
    Never listen to anyone including myself without your own study. Only few truly genuine people exist in this world.
    Please read : https://forum.lankaninvestor.com/t1548-important-warning-and-message
    ---------
    CK
    CK
    Active Member
    Active Member


    Posts : 1393
    Join date : 2015-11-01

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by CK Mon Apr 09, 2018 10:47 am

    janith wrote:Hi CK,

    I also agree with you on the longer holdups. But my calculations are based on specific market trends and i'm trying to test my algo using past data before I implement it for live trading.

    Once I do some backtesting with past data, I can at least check how my algorithm is holding up with the market and also i'll be able to tweak any performance and risk issues.  
    Oh.. I got it machan. It's for testing. Great.. wish you good luck.
    slstock
    slstock
    Veteran
    Veteran


    Posts : 6216
    Join date : 2014-06-12

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by slstock Mon Apr 09, 2018 10:59 am

    CK wrote:
    Anyhow for me long term investments are the most riskier ones as how we know what happen to the company after 5 or 10 years..

    Very interesting comment.  


    I make this statement to add balance to this opinion ...


    1) Anycase if this was the case for everyone , there will be no

    a) Captains, Dammika pereras and Harry J

    b) No unit trusts , and CINV and GUAR    

    c) or most importantly there will be no top 10 long term holders for  any company
    Even  companies like COMB, HNB, SAMP, JKH which lasted for decades !
    There are some  companies which has lasted for 100 years to date.

    d) then during certain periods at CSE there will be all sellers and Zero  buyers


    2) Even if one goes longer term, it does not mean, one buys for 5 years and forget about it.  One needs to monitor the company results atleast 6-12 months


    So any interested in  longer term investing as opposed to shorter term trading,
    no need to have undue fear ,
    that is if one does his/her homework and future work on the company.


    _________________
    Never listen to anyone including myself without your own study. Only few truly genuine people exist in this world.
    Please read : https://forum.lankaninvestor.com/t1548-important-warning-and-message
    ---------
    spw19721
    spw19721
    Active Member
    Active Member


    Posts : 683
    Join date : 2015-08-22

    Building an automated trading system from scratch Empty Re: Building an automated trading system from scratch

    Post by spw19721 Tue Apr 10, 2018 12:12 am

    CK wrote:
    Anyhow for me long term investments are the most riskier ones as how we know what happen to the company after 5 or 10 years..

    Buffett's biggest stock win


    Warren Buffett's biggest stock investment win of all time is an excellent example of what he looks for in a "forever stock." Buffett bought shares of Coca-Cola (NYSE:KO) for Berkshire Hathaway in 1988, and just under 30 years later, the stock is up by approximately 1,350% from Buffett's cost basis. And that doesn't even include the dividends Berkshire has received over the past three decades. At the current dividend rate, Coca-Cola pays Berkshire $592 million per year.

      Current date/time is Sat Jul 27, 2024 7:20 pm