Algo trading

Discussion in 'Automated Trading' started by ThisisaUniqueusername, Aug 4, 2020.

  1. 931

    931

    With both you can make macros and libraries to make things easyer.
    Python is also great, probably fastest to code, but runs slowest.
     
    #21     Aug 6, 2020
  2. userque

    userque

    Right. I was also thinking of garbage collection.
     
    #22     Aug 6, 2020
  3. 931

    931

    Could use smart pointers in C++ as garbage collector.
    Also there are garbage libraries.

    But i create new objects so rarely that i dont need those at all.

    Also there is valgrind memory analyzer.
    Great tool to find memory leaks, overflows etc.
     
    #23     Aug 6, 2020
    userque likes this.
  4. userque

    userque

    Which IDE do you use?
     
    #24     Aug 6, 2020
  5. 931

    931

    Qt ide, comes with enormous ammount of well documented libraries for most tasks from gui to networking.
    And its cross platform , so the same networking code works on linux, mac , windows , android etc.
    No need to learn all standards separately.

    Over the years i have only needed encryption and compression from other sources.
     
    Last edited: Aug 6, 2020
    #25     Aug 6, 2020
    userque likes this.
  6. _terminus_

    _terminus_

    My system uses a C++ version of the IB API which is many years old, yet it works perfectly.

    I remember the times when IB would spit out TWS versions non stop, every day, but today (crossing fingers) things are much better. Also, for serious autotrading IB Gateway is a preferable choice, not TWS. Less memory use etc.

    Currently I get logged out probably once every two weeks and always at late hours, outside normal market time (I'm located in Europe). If it wasn't for the new releases of my own software, I could leave the trading pc almost unattended.
     
    #26     Aug 7, 2020
    themickey likes this.
  7. ValeryN

    ValeryN

    IB restarts are certainly annoying. I automated bringing it back up with "docker" setup. In this case each app in your trading stack runs in a small lightweight "vm" called a container and you define a health criteria. Let's say if there is no IB's java process inside of container anymore docker orchestration engine will just restart whole container. Benefit is - once you set it up with docker you can use those health checks for anything. My trading execution software has it's own health criteria which and if it doesn't pass then the "healing" process will be done, same for any trading apps that needs to be running.

    Having this in place I don't need to touch my setup for few weeks at the time (runs on a cloud infra). Brief restarts are mostly to push some updates to execution engine or strategies.

    Last year I think there were "only" 2 times I had to upgrade IB gateway since something became incompatible. Use to be worse.
     
    #27     Aug 7, 2020
    931 likes this.
  8. _terminus_

    _terminus_

    Ok, but even then you still have to re-type your login credentials, don't you?
     
    #28     Aug 7, 2020
  9. ValeryN

    ValeryN

    I had MFA turned off for algo account.

    It has been a tough choice but it is not as bad is it sounds. Since MFA is still required for any withdrawals or account management.
     
    #29     Aug 7, 2020
  10. vinihuge

    vinihuge

    [QUOTE = "lvca, post: 5171784, membro: 510754"] A negociação de Algol mudou completamente minha negociação. Para mim, a capacidade de fazer backtesting de ideias em poucos minutos fez uma grande diferença.

    Meu algos verifica as condições específicas a cada minuto, alguns algo a cada tick. Se houver uma correspondência, ele compra e começa a observar o final da negociação com base em outras condições ou simplesmente lucro máximo e perdas de parada.

    Amo operar, mas não quero ficar olhando para o monitor o dia todo. Prefiro fazer outra coisa e deixar o algo funcionar para mim. No começo eu assistia meus algos a cada 5 minutos, agora algumas vezes por dia.

    Além disso, a parte emocional era difícil de controlar e eu me sentia muito estressada com os dias ruins. Isso não acontece comigo desde que comecei a usar algos, mesmo quando você tem um dia vermelho.

    A última coisa que notei é que parei de overtrading. Isso foi 50% das minhas perdas!

    Eu ainda passo parte dos meus dias trabalhando em negociações, mas em vez de ficar olhando para o monitor e ver as negociações, eu trabalho em novas ideias para novos algoritmos para testar. [/ QUOTE]
    Wich software do you use to backtest your strategies?
     
    #30     Aug 10, 2020