주제: Python

홈으로
  • Python Debugging in VS Code: Breakpoints Instead of print

    한국어로 읽기 TECH INSIGHT / EXPLAINED Breakpoints are useful when you can reproduce a failure with the same input. Start with a tiny Python program that cannot place orders, then connect the paused line, local variables, and call stack.

  • Starting a Stock Trading Bot: Five Checks Before Live Orders

    한국어로 읽기 TECH INSIGHT / EXPLAINED The first milestone for a trading bot is control over orders, not an attractive return chart. Turn broker connectivity, simulation, cost accounting, usage conditions, and recovery into five concrete deliverables.

  • Exact Order Amounts: Decimal Steps, Rounding and Real Residual Balances

    한국어로 읽기 TECH INSIGHT / EXPLAINED Use an explicit numeric contract at the order and ledger boundary. Binary floats remain useful for statistical analysis, while exact decimal amounts or scaled integers make exchange increments and accounting rules easier to enforce.

  • Defensive JSON Parsing: Validate Shape, Presence and Exact Quantities

    한국어로 읽기 TECH INSIGHT / EXPLAINED Successful JSON decoding establishes syntax, not a valid quote or order result. Build a boundary that distinguishes HTTP status, response shape, provider success codes and the domain value you intend to use.

  • Python Exchange Timestamps: Explicit Units, UTC and Session Boundaries

    한국어로 읽기 TECH INSIGHT / EXPLAINED A timestamp needs three pieces of context: its unit, timezone and meaning. “01:00” may be a bar opening time or a server response time; converting it correctly does not make those events interchangeable.

  • Public Crypto Candle Data: Pagination, Gaps and Closed-Bar Archives

    한국어로 읽기 TECH INSIGHT / EXPLAINED Public candle APIs are useful for learning and reproducible research. The collection task is more than downloading rows: record the source, page boundaries, timezone, missing intervals and whether the latest candle has closed.

  • Five Python Trading Indicators: Specify Seeds, Warm-Up and Edge Cases

    한국어로 읽기 TECH INSIGHT / EXPLAINED Indicator names do not fully specify their calculation. Seed values, warm-up length, standard-deviation convention and missing bars can change the output even when the visible period is identical.

  • pandas Stock Data: Clean Time Series Before Computing Signals

    한국어로 읽기 TECH INSIGHT / EXPLAINED Before calculating an indicator, make the time axis and missing-data policy explicit. A sorted CSV is a useful starting point, but a strategy also needs a clear distinction between observations, signals and executable orders.

  • Python Requests: Reachable Token Refresh and Safe Failure Boundaries

    한국어로 읽기 TECH INSIGHT / EXPLAINED Handle transport errors, HTTP status, authentication and JSON decoding as separate boundaries. A useful wrapper must make the authentication branch reachable and must not automatically repeat order creation.

  • Python vs Go for Trading Bots: Compare Workloads, Not Slogans

    한국어로 읽기 TECH INSIGHT / EXPLAINED Choose a language by the workload you can measure and the code you can maintain. Research notebooks, CPU-heavy calculations and long-running network services ask different questions.

  • Upbit Python API: Quotes, Correct Signing and Order Validation

    한국어로 읽기 TECH INSIGHT / EXPLAINED Build the integration in observable stages: public quote, authenticated read, locally validated order payload, then a documented order test. A successful HTTP response and a completed trade are different milestones.