Urgent.News

What's breaking now, across thousands of outlets.

Tech

Kripto Borsasında Zarar Durdurma Hatam Bana Neye Mal Oldu

Olay nasıl başladı Kripto piyasalarında kendi alım satım ajanımı yazmaya karar verdiğimde kendimi çok zeki hissediyordum. Bir dil modelini aldım ve piyasa verilerini ona yorumlatarak al sat ya da bekle kararları vermesini sağladım. Her şey başlangıçta çok güzel gidiyordu. Python kodum çalışıyor, borsa verilerini çekiyor ve modelin verdiği kararlara göre emirleri iletiyordu. İlk sürümde zarar…

Original Spanish Read in English

A person decided to write their own trading algorithm for cryptocurrency exchanges, believing they were very clever. They initially used a Python code that continuously monitored prices and executed sell orders when the price fell below a certain threshold. The system seemed to work well as long as the computer was on, but one night the system crashed and wiped out their investments.

The author realized that their software-based safety mechanism was not enough, and they needed to rely on the exchange's own system. They learned the hard way that relying solely on their own code for critical decisions is risky, as the exchange's system can fail due to various reasons such as power outages or internet connectivity issues.

The author decided to move the stop loss mechanism to the exchange's own order book, ensuring that the system would continue monitoring even if their computer went offline. They also implemented a follow-up profit-taking mechanism and added additional features like trailing stops and take-profit orders. The author further improved the system's stability by increasing the time between orders and implementing a slippage prevention mechanism.

Ultimately, the author's trading system became more efficient and reliable by entrusting the stop loss mechanism to the exchange's order book.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

CSS gap decorations: lines between grid items

This note has an interactive demo. Try it in the original Drawing a line between grid cells has always been a hack: borders on half the items, :nth-child() rules to remove the extra ones, or a…

CVE-2026-118773: CVE-2026-118773: Asynchronous Control Flow Bypass and Uncontrolled Resource Consumption in node-glob

CVE-2026-118773: Asynchronous Control Flow Bypass and Uncontrolled Resource Consumption in node-glob Vulnerability ID: CVE-2026-118773 CVSS Score: 6.3 Published: 2026-10-30 CVE-2026-118773…

  • CVE-2026-118773 affects node-glob versions 9.0.0 to 14.0.1
  • Missing return statements in AbortSignal check logic cause CPU, event loop, and disk I/O exhaustion
  • Upgrading to glob version 14.0.2 resolves the issue

More from Saturday 31 October →