Question about Java implementations and frameworks for algorithmic trading, and relevant techniques?

Discussion in 'App Development' started by Blonde, Mar 15, 2021.

  1. Blonde

    Blonde


    Hiya @ValeryN


    Thanks. Why is that? I want to implement a way to respond in either of these methods:
    1-Both Graphing the analysis and trade management and order management done by {platform based}-API
    2-I use the FIX-API for order and trade management and Graphing the analysis shall be done on {platform based}-API
    As these are my approaches. I need to configure Java for low latency and high-performance computing and I need to be sure my selection of Java Framework is aligned with this?

    Tnx and best of luck
     
    #21     Mar 15, 2021
  2. Blonde

    Blonde


    Hiya @stochastix


    Thanks. You are higher than the industrial standard traders as they don't make more than 3~5% monthly on average. I'm so happy for you. Do you mind if I PM you if I rarely have a question, please?
    By the way, have you implemented our algorithmic trading ideas on Java purely or what, if you don't mind answering, please?

    Tnx and best of luck
     
    #22     Mar 15, 2021
    stochastix likes this.
  3. Blonde

    Blonde

    Hiya @ph1l


    Malbolge named from Dante's Inferno, I read it when I was in elementary school. It was an interesting book for me. After such up with the busy lifestyle, I didn't have time to read any books besides tech books and I regret I don't have much time for literature and classic.

    Also, Java output can be configured through a process to hide the source code, somehow encrypted as well.

    Best of luck
     
    #23     Mar 15, 2021
  4. ValeryN

    ValeryN

    There will be few practical limitations that will make you application side latency not matter as much as you think. Likely limitations of your data feeds, your network latency and lack of direct access to exchanges. In total they will be 2-3 orders of magnitude more than what you will save by super efficient computation. Hence JVM or framework are not the problem you should be focusing on.

    Try to break down round trip latency from the event on the exchange your are watching to your order hitting it. That will help you see if what you are trying to do is even feasible.

    The chances are - your computational part will be <0.1% of total time. Then a question becomes - do you really want to start walking the path of optimizing that 0.1%?

    I do run JVM based automated trading. So it is not just all hypothetical. The settings you are asking about won't matter in the big picture of things.

    May luck be with you.
     
    #24     Mar 15, 2021
  5. Blonde

    Blonde


    Hiya @ValeryN

    Is the IB's best account as retail or institutional have a significant lag in data feeds and execution as well?

    sorry, what do you mean by '2-3 orders of magnitude'?
    'round trip latency from the event on the exchange you are watching to your order hitting it'> Could you elaborate maybe estimate by a sample, please?

    Thanks. I read the first page briefly and it's Kotlin and not Java but it's run on JVM as the concept stands?

    About IB:
    May I ask if there is possible to get higher leverage of about 1:100 for FX Majors with IB? And may I ask what branch of IB are clearing brokers? And if you don't mind, may I ask what branch of IB do you using for your tests of Algorithmic trading? And will you have at least 20% annual profit with that algorithmic trading consistently without fail every year?

    Tnx and best of luck
     
    #25     Mar 15, 2021
  6. ValeryN

    ValeryN

    JVM is the runtime. Kotlin compiles into same bytecode as Java and runs on JVM. No difference for what you are asking.

    Nothing is without failure. Everyone, without exception, faces a possibility of a loss year unless they don't trade at all.

    2 orders of magnitude means you are trying to optimize something that takes less than 1 of 100th of total time. Your data delay alone with IB is 250ms.

    Even shitty in-memory computation will likely be <20-30 ms. So you change JMV, garbage collector, play with settings, change framework etc. To get that 20 down to what? 10? What's the point if your data alone is delayed by 10-20 times of that. The rest is networking stack, more servers, more routing, more delays by multiple parties. Not really gonna go to details there. Hope it is obvious enough now.

    As a retail trader your best chance is with strategies where speed of execution is not critical enough to make anything you asked remotely important.

    If I may give an advice - spend some time searching here for the best traders you can find. Then read every single post they did over last couple of months. If you still believe they are legit - go as far back as it takes, read every single thing they wrote, try to find clues and hints. Try to reach out to them directly after that. Show you've put some work in it, ask specific questions. Pick up some solid books with foundations of systematic trading like by Howard Bandy to learn about basics.
     
    #26     Mar 15, 2021
    yc47ib, Blonde and Butterfly like this.
  7. Butterfly

    Butterfly

    your brain is fried, java didn't produce 6.9% a month dumbo, god, why is it with retards here :)

    next you are going to ask what's the best Java implementation to buy $GME :) LOL
     
    #27     Mar 16, 2021
  8. Butterfly

    Butterfly

    amen to that, finally someone making sense !!! :)
     
    #28     Mar 16, 2021
  9. what do you mean framework of Java? It sounds you have different options. How many frameworks of Java you can choose from?
     
    #29     Mar 16, 2021
  10. sure thing anytime homie
    I'm happy for me too, i was nearly about to blow my head off a year ago. chronic pain is no joke
     
    #30     Mar 16, 2021
    Blonde likes this.