Skip to main content
  1. Posts/

Shortcode Test

·169 words·1 min
Author
Kenshin
Algorithmic trading · On-chain analytics · Futures speculation. K-line is the only truth.

Binance Ticker
#

BTCUSDT --
24h Change --
24h High --
24h Low --
24h Vol --

TradingView Chart
#

Code Highlight — Python
#

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
def btc_long_entry(current_price: float, position_size: float):
    ENTRY_ZONE   = (102000, 102500)
    STOP_LOSS    = 100600
    TAKE_PROFIT  = [
        (0.3, 105000),
        (0.3, 108000),
        (0.4, 112000),
    ]

    if ENTRY_ZONE[0] <= current_price <= ENTRY_ZONE[1]:
        return {
            "action": "LONG",
            "size": position_size,
            "sl": STOP_LOSS,
            "tp": TAKE_PROFIT,
        }
    return {"action": "WAIT"}

Code Highlight — Go
#

1
2
3
4
5
6
7
package main

import "fmt"

func main() {
    fmt.Println("kenshin.trading")
}

Code Highlight — Rust
#

1
2
3
fn main() {
    println!("kenshin.trading");
}

KaTeX Math
#

Inline: $E = mc^2$

Block:

$$ \begin{aligned} E[\text{Long}] &= 0.45 \times (+4.8%) + 0.55 \times (-1.4%) \ &= +1.39% \end{aligned} $$

Table
#

Pair Price Change
BTC/USDT 100,000 +2.5%
ETH/USDT 5,000 -1.2%
SOL/USDT 200 +0.8%