BaseBroker#

Constructor#

BaseBroker()

브로커 인터페이스를 구현하기 위한 기본 클래스입니다.

Methods#

get_account()

현재 계좌 정보를 조회합니다.

get_minute_price(code)

특정 종목의 분단위 가격 데이터를 조회합니다.

get_price(code)

특정 종목의 현재 가격을 조회합니다.

get_daily_price(code, from_date, to_date)

특정 기간 동안의 일별 가격 데이터를 조회합니다.

get_pending_orders()

미체결된 모든 주문을 조회합니다.

get_positions()

모든 종목의 현재 포지션을 조회합니다.

create_order(asset_code, side, quantity[, ...])

새로운 주문을 생성합니다.

update_order(org_order_no, order_type, price)

기존 주문을 수정합니다.

cancel_order(order_no[, quantity])

주문을 취소합니다.