Artificial Algorithmic Systems Real Trading

Discussion in 'Journals' started by Alis, Jul 28, 2023.

  1. Alis

    Alis

    Yesterday trades:
    System 230903_36590_B bought 2492 shares of IFC at 0.80
    System 230913_22290_B bought 2155 shares of SLZ at 0.925
    System 230913_22290_B bought 3879 shares of RAE at 0.514
     
    #51     Sep 15, 2023
  2. Alis

    Alis

    System 230903_8893_BN sold IPO at 1.265
    System 230904_41122_B bought 2603 shares of NTC at 0.766
     
    #52     Sep 15, 2023
  3. Alis

    Alis

    Some changes after the weekend:
    System 230903_24817_BN: position in ffi (1300 shares) taken by system 230904_41122_B at price 1.29
    System 230904_34353_BN: position in ffi (2513 shares) taken by system 230913_22290_B at price 1.29
    System 230905_8818_B: position in awm (10771 shares) taken by system 230913_22290_B at price 0.2645
    System 230905_51054_B: position in asm (4615 shares) taken by system 230904_41122_B at price 1.47
    System 230904_77676_B: position in asm (3323 shares) taken by system 230913_22290_B at price 1.47
    System 230905_86730_BN: position in 3rg (6382 shares) taken by system 230913_22290_B at price 0.467
    System 230905_51054_B: position in res (5156 shares) taken by system 230913_22290_B at price 0.578
    System 230904_37848_B: position in res (5156 shares) taken by system 230905_20948_BN at price 0.578

    I will use only five systems from now, more explanation later on.
     
    #53     Sep 18, 2023
  4. Alis

    Alis

    System 230904_19569_BN sold KCH at 0.44
    System 230913_22290_B bought 426 shares of ENI at 4.68
    System 230913_22290_B bought 2976 shares of CRM at 0.67
     
    #54     Sep 18, 2023
  5. Alis

    Alis

    In the first post I mentioned that I’m using 600 trading systems. Of course, I wouldn’t take all the trades as it would be way too many to keep track of. During demo trading (the first half of 2023) I scored the signals based on the sum of the scores of systems that give “Buy” signal for given stock. This worked beautifully. I also liked the fact that it gave me so many signals – I could miss one here or there and it didn’t matter.

    But recently I’ve checked correlation between in-sample trading and out-of-sample for various metrics. This is shown in attached file.

    Two highest correlations are for final account value and bars-in ratio. (Bars-in ratio is just percentage of bars when a system has a trade opened. So 10 markets with 100 bars history would be 1000 bars. If a system has a trade opened in any 10 bars then bars-in ratio would be 1%).

    Back to why I decided to trade only 5 best systems (based on in-sample performance):
    The top 5 systems' out-of-sample average account value is around 38 times more than initial value (in other words, an average profit is about 3800% since 2018). More interesting is the sum of bars-in ratios: it’s just 26%. That means, that on average I will have invested only about a quarter of working capital. Unused capital will probably go to some ETFs, bonds or something similar. Of course, it’s possible that I will get more signals and I won’t be able to take them all, but I’m not worried and I’ll decide what to do when it actually happens.

    This also means there are some changes to my position sizing: each trade is now about 2000 PLN. With 5 systems it means I can take about 10 trades for each system. Right now, I have around 20 signals so there is room for more.

    I will slowly exit old systems at my discretion (or when actual exit signal comes) and I will replace their trades with trades from new systems.
     
    • cor.png
      cor.png
      File size:
      58.2 KB
      Views:
      11
    #55     Sep 18, 2023
  6. Alis

    Alis

    System 230904_3714_BN sold ASM at 1.24
    System 230904_41122_B bought 2731 shares of VTL at 0.74
    System 230904_41122_B bought 13382 shares of BAH at 0.15
     
    #56     Sep 19, 2023
  7. Alis

    Alis

    System 230903_24817_BN reduced 3RG by 1060
    System 230904_41122_B reduced ASM by 1310
    System 230904_41122_B sold ATS at 0.442
    System 230913_22290_B bought 2658 shares of NTC at 0.75

    I decided that from now on I will not override my systems (even when buying trash). The whole point is to prove to myself that systems created by data mining can be profitable. We'll see how it ends.

    Edit: Also, a funny thing happened today: I wanted to sell IFC (with a normal exit signal) but it was suspended from trading. Bad luck.
     
    #57     Sep 20, 2023
  8. Alis

    Alis

    System 230905_51054_B and 230903_8893_BN closed CFI
    System 230905_51054_B and 230913_22290_B closed SLZ
    System 230904_41122_B bought 4246 shares of ATS at 0.47
    System 230904_56931_B bought 28 shares of BCX at 69.80
     
    #58     Sep 21, 2023
  9. Alis

    Alis

    System 230905_51054_B and 230903_24817_BN sold 3rg
    System 230913_22290_B bought 2492 shares of SLZ at 0.8
    System 230913_22290_B bought 4985 shares of RDN at 0.40
     
    #59     Sep 22, 2023
  10. Alis

    Alis

    System 230905_51054_B and 230905_8818_B sold RAE
    System 230904_56931_B bought 81 shares of STH at 24.7
    System 230904_56931_B bought 9 shares of CRI at 222.0
    System 230913_22290_B bought 9679 shares of CFI at 0.208
     
    #60     Sep 25, 2023