스팟에서 Main.OnNotifyFill 이벤트를 받아서 로그를 찍어보면,
어제까지는...
[20200708 150106] Main_OnNotifyFill : accountNum = (삭제), accountKind = 2, code = 106Q9000, fillCount = 1, fillPrice = 1198.9, error = , orderCondition = 0, orderCount = 1, orderKind = 1, orderNum = 2405, orderPrice = 1198.9, orgOrderNum = 0, priceKind = 0
그런데 오늘은..
[20200710 100341] Main_OnNotifyFill : accountNum = (삭제), accountKind = 2, code = 106Q9000, fillCount = 3, fillPrice = 1200.5, error = , orderCondition = 0, orderCount = undefined, orderKind = 1, orderNum = 735, orderPrice = undefined, orgOrderNum = 0, priceKind = 0
이런 식으로 orderCount = undefined, orderPrice = undefined 이 두 값이 제대로 오지 않습니다.
빠른 조치 부탁드립니다.
답변 1
예스스탁
예스스탁 답변
2020-07-10 19:14:42
안녕하세요? 예스스탁입니다.
orderCount와 orderPrice 는 제공되지 않는 property 입니다.
기존에 여기에 들어간 값은 의도하신(주문수량, 주문가격)것과는 다른 값이 우연히 들어간 것으로 보입니다. 이 내용은 부정확한 값이기 때문에 사용하지 않으셔야 될것 같습니다.
감사합니다.
> idnotbe 님이 쓴 글입니다.
> 제목 : 업데이트 후 에러 발생
> 스팟에서 Main.OnNotifyFill 이벤트를 받아서 로그를 찍어보면,
어제까지는...
[20200708 150106] Main_OnNotifyFill : accountNum = (삭제), accountKind = 2, code = 106Q9000, fillCount = 1, fillPrice = 1198.9, error = , orderCondition = 0, orderCount = 1, orderKind = 1, orderNum = 2405, orderPrice = 1198.9, orgOrderNum = 0, priceKind = 0
그런데 오늘은..
[20200710 100341] Main_OnNotifyFill : accountNum = (삭제), accountKind = 2, code = 106Q9000, fillCount = 3, fillPrice = 1200.5, error = , orderCondition = 0, orderCount = undefined, orderKind = 1, orderNum = 735, orderPrice = undefined, orgOrderNum = 0, priceKind = 0
이런 식으로 orderCount = undefined, orderPrice = undefined 이 두 값이 제대로 오지 않습니다.
빠른 조치 부탁드립니다.