SShortSingh.
Back to feed

BTC Basis Bot Hits 91% Win Rate, But Its Edge Is Slowly Fading

0
·4 views

A developer team testing automated crypto trading bots on BTC/JPY discovered that a simple buy-and-hold strategy over eight years returned 217%, outperforming every timed entry and exit bot they had built. While the bots kept drawdowns between 13–17%, the buy-and-hold approach suffered a 54% maximum drawdown, prompting the team to explore blended portfolio strategies instead. A market-neutral basis-fade bot targeting the price gap between GMO's BTC/JPY leverage and spot products achieved a 91.3% win rate and a near-zero 0.39% drawdown. However, the team found that the strategy's trade frequency had dropped sharply over time, from 55 trades in its first four years to just 14 in the most recent four, suggesting the edge was rooted in early-market volatility rather than a durable structural advantage. Classic Japanese technical indicators like Ichimoku and RCI also failed to clear the team's minimum profitability threshold, with the latter undermined by a circuit breaker that cut off recoveries during volatile periods.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Japanese Court Invalidates RED's RAW Video Patent in Landmark Ruling

A Japanese court has overturned a patent held by RED related to RAW video recording technology. The ruling marks a significant legal defeat for RED, a company known for aggressively defending its video compression patents. Panasonic succeeded in challenging the patent where major tech and camera firms like Apple, Sony, and Nikon had previously failed. The decision could have broader implications for the camera and video industry, potentially opening up RAW video technology to wider use by manufacturers.

0
ProgrammingDEV Community ·

Free browser tool converts cron expressions into plain English with live previews

A developer has built a free, client-side cron expression generator to help users who struggle to remember cron syntax. The tool lets users select day, hour, and minute values from dropdowns and instantly translates the resulting expression into plain English. It also previews the next five scheduled runs in the user's local timezone, helping catch daylight saving time errors. Ready-to-use code snippets are generated for Python, Node.js, Bash, Docker, GitHub Actions, and n8n. The tool requires no signup and runs entirely in the browser at cron-generator-kappa.vercel.app.

0
ProgrammingDEV Community ·

Developer finds three data leakage flaws in ML model that appeared to validate cleanly

A developer building a computer vision model to estimate container fill levels discovered three separate data leakage issues after the model appeared to perform well, with a mean absolute error of 0.055. Despite having grouped train/test split guardrails in place from the start, leakage occurred because a grouping column contained incorrect scene IDs instead of unique container IDs, meaning the split was not separating data as intended. A second leak arose when evaluation scripts bypassed the safe split module entirely and used frame-level rather than container-level grouping. A third issue involved a cross-site validation claim that broke down because a drone's default filename prefix appeared across multiple sites, causing training and test data to intermingle. The developer noted that while one published validation claim was invalidated, relative performance comparisons between model approaches remained reliable since all experiments ran on the same flawed partitions.

0
ProgrammingDEV Community ·

Developer Documents Multi-Layer Debugging Journey to Connect PySpark with Kafka

A developer working on a financial data engineering project attempted to extend a batch pipeline with Spark Structured Streaming by reading JSON messages from a Kafka topic. Although the Python Kafka producer and Kafka broker were functioning correctly in Docker, running the Spark job triggered a chain of failures across multiple layers including PySpark, the Spark runtime, Kafka connectors, Hadoop on Windows, Docker networking, and dependency resolution. The spark-submit launcher failed to locate the pip-installed Spark environment on Windows, prompting the developer to run the Python script directly instead. This workaround bypassed the launcher issue but immediately revealed a second problem: Spark lacked the Kafka data source connector entirely, meaning it could not even attempt a connection. The experience highlighted the importance of isolating failures by layer rather than assuming all errors originate in application-level Python code.