Skip to main content
Ctrl+K

PyQQQ SDK

  • Getting started
  • User Guide
  • API reference
  • Getting started
  • User Guide
  • API reference

Section Navigation

  • API key
    • get_api_key
    • set_api_key
  • Brokerage
    • pyqqq.brokerage.ebest.oauth
      • EBestAuth
      • host_url
      • websocket_url
      • get_token
      • issue_access_token
    • pyqqq.brokerage.ebest.domestic_stock
      • EBestDomesticStock
      • get_asset_list
      • get_price
      • get_stock_time_conclude
      • get_stock_minute_prices
      • get_stock_tick_data_today_yesterday
      • get_stock_chart_dwmy
      • get_stock_chart_minutes
      • get_account_deposit_orderable_total_evaluation
      • get_account_orderable_quantity
      • get_stock_balance
      • get_deposit_order_list
      • get_order_list
      • create_order
      • update_order
      • cancel_order
      • get_management_stocks
      • get_alert_stocks
      • listen_trade_event
      • listen_after_market_single_price_trade_event
      • listen_orderbook_event
      • listen_order_event
    • pyqqq.brokerage.ebest.simple
      • EBestSimpleDomesticStock
        • EBestSimpleDomesticStock
        • get_account
        • get_possible_quantity
        • get_positions
        • get_historical_daily_data
        • get_today_minute_data
        • get_price
        • get_price_for_multiple_stock
        • create_order
        • update_order
        • cancel_order
        • get_pending_orders
        • get_today_order_history
        • get_tick_data
        • listen_order_event
      • EBestStockOrder
        • EBestStockOrder
        • order_no
        • asset_code
        • side
        • quantity
        • price
        • filled_quantity
        • filled_price
        • pending_quantity
        • order_time
        • current_price
        • is_pending
        • org_order_no
        • order_type
        • req_type
      • EBestStockPosition
        • EBestStockPosition
        • asset_code
        • asset_name
        • quantity
        • average_purchase_price
        • current_price
        • current_value
        • current_pnl
        • current_pnl_value
    • pyqqq.brokerage.kis.oauth
      • KISAuth
      • host_url
      • get_token
      • issue_access_token
    • pyqqq.brokerage.kis.domestic_stock
      • KISDomesticStock
      • get_price
      • inquire_ccnl
      • inquire_daily_price
      • inquire_asking_price_exp_ccn
      • inquire_daily_itemchartprice
      • inquire_daily_indexchartprice
      • inquire_time_itemconclusion
      • inquire_time_overtimeconclusion
      • inquire_daily_overtimeprice
      • inquire_time_itemchartprice
      • search_info
      • search_stock_info
      • get_balance_sheet
      • get_financial_ratio
      • chk_holiday
      • get_foreign_institution_total
      • get_stock_condition_search_list
      • get_stock_condition_search_results
      • get_program_trade_by_stock
      • get_volume_rank
      • get_investor_trend_estimate
      • inquire_time_indexchartprice
      • inquire_time_dailychartprice
      • inquire_price_2
      • inquire_daily_trade_volume
      • inquire_index_price
      • inquire_index_daily_price
      • inquire_index_category_price
      • get_income_statement
      • get_dividend_schedule
      • order_cash
      • order_rvsecncl
      • inquire_psbl_rvsecncl
      • inquire_daily_ccld
      • inquire_balance
      • inquire_psbl_order
      • inquire_balance_rlz_pl
      • inquire_credit_psamount
      • inquire_account_balance
      • inquire_period_trade_profit
      • inquire_period_profit
      • nav_comparison_daily_trend
      • listen_order_event
    • pyqqq.brokerage.kis.overseas_stock
      • KISOverseasStock
      • get_price
      • get_dailyprice
      • inquire_daily_chartprice
      • inquire_search
      • get_price_detail
      • inquire_time_itemchartprice
      • inquire_time_indexchartprice
      • order
      • order_rvsecncl
      • order_resv
      • order_resv_ccnl
      • inquire_nccs
      • inquire_balance
      • inquire_ccnl
      • inquire_psamount
      • inquire_period_profit
      • inquire_asking_price
    • pyqqq.brokerage.kis.simple
      • KISSimpleDomesticStock
        • KISSimpleDomesticStock
        • get_account
        • get_possible_quantity
        • get_positions
        • get_historical_daily_data
        • get_today_minute_data
        • get_price
        • get_price_for_multiple_stock
        • get_orderbook
        • create_order
        • update_order
        • cancel_order
        • get_pending_orders
        • get_today_order_history
        • get_order
        • listen_order_event
      • KISStockOrder
        • KISStockOrder
        • order_no
        • asset_code
        • side
        • quantity
        • price
        • filled_quantity
        • filled_price
        • pending_quantity
        • order_time
        • current_price
        • is_pending
        • org_order_no
        • order_type
        • req_type
      • KISStockPosition
        • KISStockPosition
        • asset_code
        • asset_name
        • quantity
        • average_purchase_price
        • current_price
        • current_value
        • current_pnl
        • current_pnl_value
    • pyqqq.brokerage.kis.simple_overseas
      • KISSimpleOverseasStock
      • get_account
      • get_possible_quantity
      • get_positions
      • get_historical_daily_data
      • get_today_minute_data
      • get_price
      • create_order
      • update_order
      • cancel_order
      • schedule_order
      • cancel_scheduled_order
      • get_scheduled_orders
      • get_pending_orders
      • get_today_order_history
      • get_order_history
      • get_orderbook
    • pyqqq.brokerage.tracker
      • TradingTracker
  • Data
    • pyqqq.data.realtime
      • get_all_last_trades
    • pyqqq.data.ticks
      • get_tick_data
    • pyqqq.data.minutes
      • get_all_minute_data
      • get_all_day_data
      • get_orderbook
    • pyqqq.data.daily
      • get_all_ohlcv_for_date
      • get_ohlcv_by_codes_for_period
    • pyqqq.data.domestic
      • get_alert_stocks
      • get_management_stocks
      • get_rising_stocks
      • get_tickers
      • get_ticker_info
      • find_ticker_info
      • get_administrative_stocks
      • get_invest_alert_stocks
      • get_overheat_stocks
      • get_market_cap
      • get_market_cap_by_codes
      • get_investor_net_purchases
    • pyqqq.data.index
      • get_index_ohlcv_for_date
      • get_ohlcv_by_indices_for_period
    • pyqqq.data.us_stocks
      • get_ticker_info
      • get_ohlcv_by_codes_for_period
      • get_all_ohlcv_for_date
      • get_all_day_data
      • get_all_minute_data
  • Utils
    • pyqqq.utils.array
      • chunk
    • pyqqq.utils.compute
      • quantize_krx_price
      • get_krx_tick_size
    • pyqqq.utils.kvstore
      • KVStore
      • get
      • set
      • delete
      • keys
      • clear
    • pyqqq.utils.limiter
      • CallLimiter
      • wait_limit_rate
      • limit_calls
    • pyqqq.utils.logger
      • get_logger
    • pyqqq.utils.market_schedule
      • MarketSchedule
      • full_day_closed
      • exchange
      • open_time
      • close_time
      • reason
      • is_full_day_closed
      • is_before_opening
      • is_after_closing
      • is_trading_time
      • get_market_schedule
      • get_last_trading_day
      • get_next_trading_day
      • get_trading_day_with_offset
    • pyqqq.utils.retry
      • retry
    • pyqqq.utils.singleton
      • singleton
    • pyqqq.utils.position_classifier
      • PositionClassifier
      • set_initial_position
      • set_initial_order
      • update_positions
      • update_orders
      • clear_orders
      • get_sellable_quantity_by_auto
      • tagging_order_auto
      • print_current_status
      • start
  • Data types
    • OrderSide
    • OrderType
    • OrderRequestType
    • TransactionStatus
    • StockPosition
    • StockOrder
    • OrderEvent
    • TradingHistory
  • Backtest
    • pyqqq.backtest.environment
      • TradingEnvironment
        • TradingEnvironment
        • get_broker
        • get_clock
      • BacktestEnvironment
        • __init__
        • get_broker
        • get_clock
      • KISDomesticEnvironment
        • __init__
        • get_broker
        • get_clock
      • KISOverseasEnvironment
        • __init__
        • get_broker
        • get_clock
    • pyqqq.backtest.broker
      • BaseBroker
        • BaseBroker
        • get_account
        • get_minute_price
        • get_price
        • get_daily_price
        • get_pending_orders
        • get_positions
        • create_order
        • update_order
        • cancel_order
      • TradingBroker
        • TradingBroker
        • data_api
        • trading_api
        • get_minute_price
        • get_price
        • get_daily_price
        • get_orderbook
        • get_account
        • get_pending_orders
        • get_positions
        • create_order
        • update_order
        • cancel_order
      • MockBroker
        • MockBroker
        • clock
        • cash
        • trading_history
        • position_provider
        • time_unit
        • set_initial_cash
        • get_daily_price
        • get_minute_price
        • get_price
        • get_pending_orders
        • get_positions
        • create_order
        • update_order
        • cancel_order
        • show_trading_history_report
        • show_positions
    • pyqqq.backtest.positionprovider
      • BasePositionProvider
        • BasePositionProvider
        • get_positions
      • KISPositionProvider
        • KISPositionProvider
        • get_positions
      • EBestPositionProvider
        • EBestPositionProvider
        • get_positions
      • ManualPositionProvider
        • ManualPositionProvider
        • get_positions
      • BackPositionProvider
        • BackPositionProvider
        • get_positions
    • pyqqq.backtest.strategy
      • BaseStrategy
        • BaseStrategy
        • clock
        • broker
        • logger
        • run
    • pyqqq.backtest.wallclock
      • WallClock
        • WallClock
        • live_mode
        • tzinfo
        • on_time_change
        • on_before_time_change
        • now
        • today
        • is_alive
        • sleep
    • pyqqq.backtest.utils
      • print_invest_result
  • API reference
  • pyqqq.brokerage.kis.domestic_stock
  • nav_comparis...

nav_comparison_daily_trend#

KISDomesticStock.nav_comparison_daily_trend(fid_input_iscd: str, fid_input_date_1: date, fid_input_date_2: date, fid_cond_mrkt_div_code='J')[source]#

NAV 비교추이(일) API입니다.

한국투자 HTS(eFriend Plus) > [0244] ETF/ETN 비교추이(NAV/IIV) 좌측 화면 “일별” 비교추이 기능을 API로 개발한 사항으로, 해당 화면을 참고하시면 기능을 이해하기 쉽습니다. 실전계좌의 경우, 한 번의 호출에 최대 100건까지 확인 가능합니다.

Parameters:
  • fid_input_iscd (str) – 종목코드 (6자리)

  • fid_input_date_1 (datetime.date) – FID 입력일자1 - 조회 시작일자 (ex. dtm.date(2024, 1, 01))

  • fid_input_date_2 (datetime.date) – FID 입력일자2 - 조회 종료일자 (ex. dtm.date(2024, 1, 31))

  • fid_cond_mrkt_div_code (str) – FID 조건시장분류코드 - J 입력

Returns:

  • rt_cd (str): 응답코드

  • msg_cd (str): 메시지코드

  • msg1 (str): 메시지1

  • tr_cont (str): 연속조회가능여부

  • output (list): 응답상세

    • stck_bsop_date: 주식 영업 일자

    • stck_clpr: 주식 종가

    • prdy_vrss: 전일 대비

    • prdy_vrss_sign: 전일 대비 부호

    • prdy_ctrt: 전일 대비율

    • acml_vol: 누적 거래량

    • cntg_vol: 체결 거래량

    • dprt: 괴리율

    • nav_vrss_prpr: NAV 대비 현재가

    • nav: NAV

    • nav_prdy_vrss_sign: NAV 전일 대비 부호

    • nav_prdy_vrss: NAV 전일 대비

    • nav_prdy_ctrt: NAV 전일 대비율

Return type:

dict

Raises:

ValueError – API 에러 발생시

previous

inquire_period_profit

next

listen_order_event

On this page
  • nav_comparison_daily_trend()
Show Source

© Copyright 2025, Mylos & Mintmobile Inc.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.4.