본문 바로가기

기록

검색하기
기록
프로필사진 민동기

  • 분류 전체보기 (31)
    • Language (16)
      • python (8)
      • C (4)
      • Matlab (1)
      • R (3)
    • machine learning (7)
    • HDR (2)
    • Art (1)
    • trading (2)
    • etc (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • FFT
  • 통계
  • 주식
  • 최적화
  • CSV
  • matlab
  • r
  • pandas
  • zero-padding
  • halide
  • Python
  • Database
  • optimization
  • stock
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록주식 (1)

기록

Naver에서 주식 종목별 시세 가져오기

CODE는 종목 코드 PAGES는 몇 page data를 가져올지 정의 reference: https://excelsior-cjh.tistory.com/109 def get_sise(CODE,PAGES): url='http://finance.naver.com/item/sise_day.nhn?code={code}'.format(code=CODE) ref=pd.DataFrame() for page in range(1, PAGES): pg_url='{url}&page={page}'.format(url=url, page=page) ref=ref.append(pd.read_html(pg_url, header=0)[0], ignore_index=True) ref=ref.dropna() ref.columns= ['d..

Language/python 2019. 5. 4. 14:03
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바