This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Hapi = require('hapi'); | |
var server = new Hapi.Server(); | |
// Create a server with a host and port | |
server.connection({ | |
host: 'localhost', | |
port: 8080 | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inXAQuery = win32com.client.DispatchWithEvents("XA_DataSet.XAQuery", XAQueryEvents) | |
inXAQuery.LoadFromResFile("res\\t1301.res") # res 등록 | |
inXAQuery.SetFieldData('t1301InBlock', 'shcode', 0, '001510') | |
inXAQuery.Request(0) | |
while XAQueryEvents.queryState == 0: | |
pythoncom.PumpWaitingMessages() | |
# Get FieldData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*-coding: utf-8 -*- | |
import win32com.client | |
import pythoncom | |
import sys | |
import time | |
class XASessionEvents: | |
logInState = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -- Get data -- | |
inXAQuery = win32com.client.DispatchWithEvents("XA_DataSet.XAQuery", XAQueryEvents) | |
inXAQuery.LoadFromResFile("res\\t8430.res") # res 등록 (주식 종목 조회) | |
inXAQuery.SetFieldData("t8430InBlock", "gubun", 0, 0) # 코스피 | |
inXAQuery.Request(0) | |
while XAQueryEvents.queryState == 0: | |
pythoncom.PumpWaitingMessages() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*-coding: utf-8 -*- | |
import win32com.client | |
import pythoncom | |
import sys | |
import time | |
class XASessionEvents: | |
logInState = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*-coding: utf-8 -*- | |
import win32com.client | |
import pythoncom | |
import sys | |
class XASessionEvents: | |
logInState = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*-coding: utf-8 -*- | |
import win32com.client | |
import pythoncom | |
import sys | |
class XASessionEvents: | |
logInState = 0 |