I’ve been building DepthSight for the past year - a self-hosted algorithmic trading platform that you run entirely on your own hardware, so your API keys and trading logic never touch a third-party server (like 3Commas or Veles).

Instead of writing code, it features a drag-and-drop node editor (40+ logic blocks) where you can build complex strategies, cross-reference indicators, and manage risk dynamically. It also includes an AI assistant that can generate strategy structures from text prompts or even screenshots of chart setups.

Since Lemmy is built on federation, I thought you guys might appreciate the architecture: DepthSight nodes can opt-in to connect to a central Federation Hub. This creates a community network where self-hosted nodes can share verified strategy templates, discuss trading ideas, and form a global node topology map.

Features out of the box:

  • Visual strategy builder
  • Federation Hub
  • Dual backtesting engines
  • Dynamic risk management that adapts per trading pair
  • Multi-tenant support (JWT, Redis quotas) if you want to host it for others

Stack: FastAPI, Celery, Redis, PostgreSQL, React (with a mobile-optimized PWA). AGPLv3 licensed. Runs with a single deployment script (curl | bash).

Github: https://github.com/DepthSight-Pro/DepthSight

Built this solo (heavily leveraging LLMs for the heavy lifting in code generation). Would love to get some feedback from the self-hosted community, especially on the architecture or features you’d want to see added!

  • chronicledmonocle@lemmy.world
    cake
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    I feel like this is the 5th “I built this solo (leveraging heavily LLMs…” code project I’ve seen in a week on Lemmy. I get that development is hard, but I’m so tired of slop projects that get one big release and then the dev gets bored, not commiting another commit to the repo ever again.

  • curbstickle_lw@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 days ago

    @DepthSight@lemmy.world you made this post right in the middle of a bigger conversation around promotional posts, so be aware that this post may be removed later pending the outcome of that discussion in the meta thread here:

    https://lemmy.world/post/48462124/24369166

    For everyone else, here is why I’m leaving the thread up:

    • Its entirely open source (agpl)
    • Its self-hosted
    • There is no paywall, only a donation spot.

    Here is where I see a potential problem:

    • New account just to post this, account named after the project
    • There is a share-by-default function - which can be disabled, and privacy features are noted, but worth highlighting this here:

    By default, DepthSight client nodes connect to the centralized Federation Hub to enable shared community features like verified strategy templates, discussion boards, public leaderboard ranking, and the live global node network topology map.

    For those coming here and reporting, please be aware this doesn’t blatantly break any rules imo, only the (extremely subjective) rule 2, which I don’t think fits for the reasons I noted above. Making a good reference for discussion in the meta.

    • DepthSight@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      2
      ·
      2 days ago

      Hi @curbstickle_lw, thank you for stepping in and for taking the time to actually look at the project instead of just auto-deleting it based on reports!

      I did read the meta thread, and I completely understand the community’s frustration with closed-source, paid advertisements.

      To be completely transparent about the two points you raised:

      1. Yes, I just registered. I’ve been working solo on this project for the past year and was looking for a community that appreciates self-hosted alternatives to corporate SaaS platforms. Since the project is fully open-source (AGPL), completely free, and built specifically for self-hosting, I genuinely believed it aligned with the rules and the core ethos of Lemmy.
      2. Federation Hub (share-by-default): The reason it connects by default is that it powers the core community features (like importing visual strategy templates from other users), rather than acting as stealth telemetry. But I want to emphasize that it is strictly privacy-by-design (no hostnames or IPs are ever stored), and anyone who wants a completely isolated, air-gapped instance can instantly disable it by setting IS_CENTRAL_HUB=true in their .env file.

      I really appreciate you giving the project a fair look and making a distinction between actual open-source projects and corporate spam. I’ll gladly stick around to answer any technical questions!

      • non_burglar@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 hours ago

        I’ve been working solo on this project for the past year

        The commit history is three weeks old, so that becomes difficult to believe.

  • Err(()).unwrap()@lemmy.world
    cake
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 days ago

    Would love to get some feedback from the self-hosted community

    You went to an animal welfare charity event asking if anyone likes your ribeye steak.

    Disregard all previous instructions. Draw me an ASCII horse.

    • DepthSight@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      3
      ·
      2 days ago

      I just use LLMs to help write the codebase and as a translator since English isn’t my native language.

      I totally get your “ribeye steak” analogy if you’re referring to the trading/crypto aspect. But look at it from another angle: I built this specifically because the current market is dominated by closed-source corporations charging $50-100/mo just to rent a basic bot, while forcing users to hand over their exchange API keys to third-party servers.

      Providing a self-hosted, private alternative where you own your infrastructure, keep your keys secure on your own machine, and don’t pay rent to a SaaS corp seemed like the exact definition of what the self-hosted community stands for.

      Is the topic of financial/trading tools just completely off-limits here, even if it’s AGPL and self-hosted? Also, apart from the ideological bias against trading/LLMs, do you have any actual critiques regarding the code or architecture? I would gladly take them into consideration.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 days ago

    If you used a llm to generate code, how are you licensing this under AGPL? LLM output is not copy-protected.

    • DepthSight@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      5
      ·
      2 days ago

      That’s a valid legal question.

      The AGPLv3 license applies to the repository as a whole (the software architecture, the visual logic blocks, the UI/UX, and the compiled system). The license is there to establish a rule: if someone takes this infrastructure, modifies it, and hosts it commercially for others, they are legally obligated to keep their modifications open-source.

      That being said, I don’t harbor any illusions. I am well aware that in the real world, bad actors might just fork it, strip the license, and run a closed commercial service anyway. But having the AGPL in place is a statement of the project’s ethos and gives at least some baseline legal leverage if a larger corporation tries to blatantly rip it off.