GithubHelp home page GithubHelp logo

kijuky / gas-jquantsapi Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 18 KB

J-Quants API を Google Apps Script で操作します。

Home Page: https://qiita.com/kijuky/items/ad638bc07e59343472d1

JavaScript 100.00%
gas-library j-quants gas google-apps-script

gas-jquantsapi's Introduction

gas-jquantsapi

GoogleスプレッドシートからJ-Quants APIを利用します。

使い方

Googleスプレッドシートの「拡張機能」>「Apps Script」からスクリプトエディタを起動します。

「ライブラリ」に 1fQcntI2lJBbiqfz1IaXLNOuJ8Z3IUuD5xiTsqfBzdJZMdcCMSTPJrsoX を追加します。

「プロジェクトの設定」から「スクリプトプロパティを編集」で、次の情報を設定します。

  • JQUANTSAPI_MAILADDRESS: メールアドレス
  • JQUANTSAPI_PASSWORD: パスワード

「エディタ」をひらき、次のコードを入力します。

jquantsapi.setProperties(PropertiesService.getScriptProperties());

function jquants_company_name(code ,date) {
  return jquantsapi.listed_info(code, date).CompanyName;
}

Googleスプレッドシートのセルに次のように入力します。

=jquants_company_name(2789)

指定したコード(2789)の企業名が表示されます。

テスト

cd library
deno test test*.js

参考

gas-jquantsapi's People

Contributors

kijuky avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.