• 제목/요약/키워드: Script programming

검색결과 60건 처리시간 0.021초

Development of a Stock Auto-Trading System using Condition-Search

  • Gyu-Sang Cho
    • International Journal of Internet, Broadcasting and Communication
    • /
    • 제15권3호
    • /
    • pp.203-210
    • /
    • 2023
  • In this paper, we develope a stock trading system that automatically buy and sell stocks in Kiwoom Securities' HTS system. The system is made by using Kiwoom Open API+ with the Python programming language. A trading strategy is based on an enhanced system query method called a Condition-Search. The Condition-Search script is edited in Kiwoom Hero 4 HTS and the script is stored in the Kiwoom server. The Condition-Search script has the advantage of being easy to change the trading strategy because it can be modified and changed as needed. In the HTS system, up to ten Condition-Search scripts are supported, so it is possible to apply various trading methods. But there are some restrictions on transactions and Condition-Search in Kiwoom Open API+. To avoid one problem that has transaction number and frequency are restricted, a method of adjusting the time interval between transactions is applied and the other problem that do not support a threading technique is solved by an IPC(Inter-Process Communication) with multiple login IDs.

스크립트 기반의 게임 기획 및 개발을 위한 통합 개발 환경 (Game Planning and Development IDE based on Script)

  • 이돈양;박의준;최한용
    • 한국콘텐츠학회논문지
    • /
    • 제5권3호
    • /
    • pp.133-140
    • /
    • 2005
  • 게임 개발 환경을 개선하기 위해 고려해야할 중요한 사항 중 하나가 게임을 구현하기 위한 언어이다. 현재 게임을 개발하기 위해 설계되어있는 전용 언어는 부족한 상황이다. 따라서 게임개발은 범용의 프로그래밍 언어를 이용하여 직접적으로 엔진을 모델링하여 구현하고 있다. 따라서 개발자는 쉽게 게임을 개발하기 어려우며 엔진레벨에서 프로그래밍을 해야한다. 엔진을 잘 이해하지 못한 환경에서 게임을 개발하는 것은 상당히 어려운 일이다. 개발자와 기획자는 쉽게 게임을 개발하기 위해 기획자 측면에서 사용할 수 있는 추상화된 상위언어를 사용하고자 한다. 그리고 기획자와 개발자 사이의 의사교환을 위한 도구도 없는 상황이다. 그러므로 본 연구에서는 추상화된 엔진레벨에서 모델링이 가능한 스크립트 언어를 정의하였다. 그리고 추상화된 고수준의 언어를 이용하여 게임을 개발할 수 있는 통합환경을 구축하였다. 스크립트 언어는 라른 속도로 게임을 개발할 수 있도록 하였다. 따라서 개발자는 엔진레벨이 아닌 기획자와 게임을 개발할 수 있다. 또한 기획자와 개발자는 통합환경을 이용하여 스켈레톤 게임을 만들 수 있기 때문에 의사교환 도구로 이용할 수 있다.

  • PDF

PDA상에서의 한글 필기체 매칭 알고리즘 (A Hangul Script Matching Algorithm for PDA)

  • 조미경;조환규
    • 한국정보과학회논문지:소프트웨어및응용
    • /
    • 제29권10호
    • /
    • pp.684-693
    • /
    • 2002
  • 전자 잉크 데이터는 펜 기반 컴퓨터나 PDA(Personal Digital Assistants)등에서 자연스럽고 편리한 데이터 입력을 제공하기 위해 펜으로 입력한 데이터를 온라인 문자 인식기를 이용하여 아스키 문자로 변환하지 않고 스크립트 형태로 저장하는 데이터를 말한다. 전자 잉크 데이터를 사용하기 위해 가장 중요한 것 중 하나는 전자 잉크 데이터의 검색 문제이다. 본 연구에서는 전자 잉크 데이터를 획 특징 벡터 형태로 저장하고, 이를 이용해서 잉크 데이터를 검색하는 매칭 알고리즘을 제안하고 구현하였다. 제안된 매칭 알고리즘은 입력된 데이터를 곡률(curvature)을 이용하여 기본획(primitive stroke)으로 분리하고 기본획의 종류를 결정한 다음 획 특징 벡터를 생성한다. 그리고 동적 프로그래밍 기법에 의해 획 특징 벡터의 거리값을 계산한다. 제안된 매칭 알고리즘을 이용하여 다양한 실험을 하였으며 한글 스크립트로 구성된 경우 97.7%이상의 매칭률을 보여 주었고 한글 및 한자 흔합 스크립트에서는 94%이상의 매칭률을 보여 주였다.

가변적인 컴포넌트 개발을 위한 컴파일러 방식의 룰 엔진 (A Compiler Based Rule Engine for Developing Changeable Component)

  • 이용환
    • 한국정보과학회논문지:컴퓨팅의 실제 및 레터
    • /
    • 제12권6호
    • /
    • pp.379-385
    • /
    • 2006
  • 가변적인 컴포넌트의 재사용성이나 적응성을 높이기 위해 룰 기반 컴포넌트 개발 방법들이 제안되고 있다. 룰 기반 컴포넌트 개발에서 사용하는 룰 엔진들은 룰을 표현하기 위해 추가적인 스크립트 언어가 필요하며 따라서 복잡한 비즈니스 룰을 표현하는데 어려움이 많다. 본 논문에서는 다양한 룰 표현과 성능 향상을 위한 컴파일러 기반의 룰 엔진을 제안한다. 제안한 룰 엔진은 룰의 컨디션과 액션 부분을 표현하기 위해 자바 프로그래밍 언어를 사용한다. 따라서 복잡한 비즈니스 룰을 쉽게 표현할 수 있으며 실행 시에 동적으로 룰의 컨디션과 액션 객체를 생성해서 실행시킬 수 있다. 성능 면에서도 제안한 룰 엔진은 스크립트 기반 룰 엔진보다 우수하다. 성능 실험에 의하면 컴파일러 기반의 룰 엔진 성능은 스크립트 기반 룰 엔진인 JSR-94 보다 2.5배의 높은 성능을 보이고 있다.

Matching Algorithm for Hangul Recognition Based on PDA

  • Kim Hyeong-Gyun;Choi Gwang-Mi
    • Journal of information and communication convergence engineering
    • /
    • 제2권3호
    • /
    • pp.161-166
    • /
    • 2004
  • Electronic Ink is a stored data in the form of the handwritten text or the script without converting it into ASCII by handwritten recognition on the pen-based computers and Personal Digital Assistants(PDA) for supporting natural and convenient data input. One of the most important issue is to search the electronic ink in order to use it. We proposed and implemented a script matching algorithm for the electronic ink. Proposed matching algorithm separated the input stroke into a set of primitive stroke using the curvature of the stroke curve. After determining the type of separated strokes, it produced a stroke feature vector. And then it calculated the distance between the stroke feature vector of input strokes and one of strokes in the database using the dynamic programming technique.

Design-First Approach 와 UML이용 (A Case Study on the Design-First Approach and using UML for a Video Rental Store)

  • 국중각
    • 한국컴퓨터산업학회논문지
    • /
    • 제8권1호
    • /
    • pp.1-8
    • /
    • 2007
  • 객체지향기술을 이용하여 소프트웨어를 개발할 때 소위 @큰 그림@ (big picture)으로 나타내는 @design-first@ approach 방식으로 채택하는 하는 경향이 있어 관심을 끌고 있다. 본 연구도 이 방식을 채택하여 video rental store(VRS) system을 개발하였다 이 system은 효과적으로 모델링(modeling) 할 수 있도록 UML을 이용하였으며, PHP script, MySQL Database, Java를 함께 사용하였으며, 실습 프러적트(project)로 구현하였다. 단계별 프로세싱을 통해 학생들이 프로그래밍을 작성하는데 원칙을 따르도록 지도 하였으며, 코딩(coding)을 시작하기 전에, 계획, 분석, 그리고 설계를 이행하도록 지도했다. 학생들이 가능한 실제 세계와 같은 경험을 가지도록 노력했다. 그리고 전반적으로 그 개발과정은 긍정적이었다.

  • PDF

테스트 주도 개발을 위한 유연한 단위 테스트 도구로 변경 (A Flexible Unit Testing Tool for Test Driven Development)

  • 전석환;김정동;백두권
    • 한국정보과학회논문지:컴퓨팅의 실제 및 레터
    • /
    • 제15권2호
    • /
    • pp.140-144
    • /
    • 2009
  • 테스트 주도 개발의 장점을 얻기 위해서는 효율적인 테스트 도구의 사용은 필수적이다. 기존의 통합 자동화 테스트 도구는 표준화 되지 않은 스크립트(script) 언어를 사용하거나 단위 테스트에 적합하지 않은 경우가 많다. 기존의 단위 테스트 도구는 대부분 프로그램의 원시코드에 테스트를 위한 코드가 추가된다. 이것은 원시 코드의 복잡도를 높이고 테스트 케이스 변경 시 원시코드의 여러 부분을 수정해야 하는 문제점이 있다. 본 논문에서는 테스트 주도 개발 시 개발자가 표준 자바 스크립트(Java script)를 이용하여 테스트 케이스 수정을 용이하게 할 수 있도록 유연한 테스트 도구의 설계를 제안하고 제안된 설계의 가용성을 검증하고자 테스트 도구를 구현하였다.

멀티미디어 저작도구의 비교.분석 (Comparative and analysis of multimedia author tools)

  • 권오탁;홍동헌
    • 경영과정보연구
    • /
    • 제2권
    • /
    • pp.23-46
    • /
    • 1998
  • In this paper, comparative and analysis of multimedia author tools for to proper compatible multimedia author tools on multimedia author tools function and usage, and which breach of contract each author tools specific property prepare to forecast future multimedia expansion trend on information technology expansion. Multimedia essential element is hardware(storage, digital video, CD), software, sound, hypertext and hypermedia etc. Analysis criteria of multimedia author tools is programming environment, which are card, script, icon, time method.

  • PDF

A Scheme to Interpret a JSP Page Using a New Concept of Scopes in Web Environment

  • Chung, Yongju;Song, Dooheon
    • 한국멀티미디어학회논문지
    • /
    • 제7권6호
    • /
    • pp.851-857
    • /
    • 2004
  • Server-side scripting languages for web applications have a different environment from general programming languages. The reason is that some data in web applications should be transferred to a distinct file of a page or should be maintained for a physical time, that is for session time. SO JSP has four kinds of new scopes such as page, request, session, application. And every identifiers in JSP are classified and processed as one of the four scopes. This seems unavoidable to a scripting language because of the web environment. So when a JSP page using these new scope concepts is interpreted the procedure would be different from that of the general programming language's scopes. This thesis has studied the processing of the scopes which are considered in interpreting a script language code. This processing method of the scopes in this article can be applied not only to JSP interpreting but also to a data processing of similar ranges in web.

  • PDF

프로그램 분석을 통한 RDF 질의 최적화 기법 (RDF Query Optimization Technique based on Program Analysis)

  • 최낙민;조은선
    • 전자공학회논문지CI
    • /
    • 제47권4호
    • /
    • pp.54-62
    • /
    • 2010
  • 시맨틱 웹 프로그래밍은 아직 발전 과정 상 초기 단계로서 API에 의존하고 있어, 컴파일 시 에러 검출이 어려우며 프로그래밍 생산성이나 실행 효율성이 낮다. 이를 극복하기 위한 여러 연구 중 하나로 기존 프로그래밍 언어를 확장하여 시맨틱 웹데이터 처리를 위한 전용 프로그래밍 언어를 만드는 작업들이 진행되어 왔다. 본 연구에서는 RDF (Resource Description Framework) 전용 프로그래밍 언어인 Jey로 작성된 프로그램의 효율성을 높이기 위한 방법으로 Jey의 SPARQL 지원 구조에 캐싱 기법을 추가하여 성능을 높이는 방법을 제안한다. 프로그램 정적 분석을 바탕으로 캐시 대상이 판별되므로 정확도를 높이며 성능향상에 기여하게 된다.