Giter Club home page Giter Club logo

Comments (1)

elbakramer avatar elbakramer commented on July 23, 2024

일단 말씀주신 GetMarketPriceInfo() 함수의 내부 TR 코드는 OPT10007 이며
해당 TR 은 KOAStudio 상 멀티데이터를 출력하는 것으로 표기되어 있습니다.

image

그런데 기존에는 이게 여러가지 이유에서 싱글데이터를 출력하는 것처럼 동작하고 있었고,
최근 관련해 코드 여기저기를 정상화하는 과정에서 내부 동작은 멀티데이터 출력으로 변경되었지만,
그걸 외부적으로 사용하던 해당 함수에서는 해당 변경사항을 반영하지 못하여 빈 값으로 반환되고 있었습니다.

문서상 멀티데이터 출력이긴 하지만,
TR 관련 데이터 파일의 정보나 실제 테스트시의 반환값을 봤을 때, 사실상 1개의 레코드만 반환하는 것으로 보여서요.
해당 함수가 반환하는 값의 타입에는 기존과 차이가 없도록 멀티데이터의 가장 첫번째 행을 반환하도록 수정했습니다.

responses = self.TransactionCall(rqname, trcode, scrno, inputs)
_single, multi = self._ParseTransactionCallResponses(responses)
single = multi.iloc[0]
return single

다만 위의 1개 가정이 틀리는 상황도 있을지는 파악된 바가 없어서 데이터 누락이 발생할 수도 있는 점은 참고 바랍니다.

최신 버전 (v0.9.0) 으로 업데이트 후 이슈 해결되는지 테스트 부탁드리겠습니다.

from koapy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.