"대신증권 매수 매도"의 두 판 사이의 차이
DB CAFE
1번째 줄: | 1번째 줄: | ||
+ | <source lang=python> | ||
+ | |||
import win32com.client | import win32com.client | ||
13번째 줄: | 15번째 줄: | ||
instCpTd0311.SetInputValue(5, 13000) | instCpTd0311.SetInputValue(5, 13000) | ||
instCpTd0311.BlockRequest() | instCpTd0311.BlockRequest() | ||
+ | </source> | ||
[[category:주식]] | [[category:주식]] |
2019년 12월 28일 (토) 21:27 판
thumb_up 추천메뉴 바로가기
- DBA { Oracle DBA 명령어 > DBA 초급 과정 > DBA 고급 과정 }
- 튜닝 { 오라클 튜닝 목록 }
- 모델링 { 데이터 모델링 가이드 }
import win32com.client
instCpTdUtil = win32com.client.Dispatch("CpTrade.CpTdUtil")
instCpTd0311 = win32com.client.Dispatch("CpTrade.CpTd0311")
instCpTdUtil.TradeInit()
accountNumber = instCpTdUtil.AccountNumber[0]
instCpTd0311.SetInputValue(0, 2)
instCpTd0311.SetInputValue(1, accountNumber)
instCpTd0311.SetInputValue(3, 'A003540')
instCpTd0311.SetInputValue(4, 10)
instCpTd0311.SetInputValue(5, 13000)
instCpTd0311.BlockRequest()