Giter VIP home page Giter VIP logo

oanda-scala-stream-api's Introduction

oanda-scala-stream-api

OANDA REST APIにつないでみる

参考にしたもの

https://github.com/oanda/java-api-streaming

セットアップ

必要に応じて変数を変更 PriceStream.scala

sandbox環境ならアカウント情報なしで接続できる

domain
access_token
account_id
instruments

動かし方

sbt "run-main PriceStream"
{"tick":{"instrument":"EUR_JPY","time":"2015-01-29T14:38:46.536478Z","bid":142.483,"ask":142.505}}
{"tick":{"instrument":"USD_JPY","time":"2015-01-29T14:38:46.652931Z","bid":114.867,"ask":114.881}}
{"tick":{"instrument":"USD_JPY","time":"2015-01-29T14:38:46.662718Z","bid":114.867,"ask":114.88}}
{"tick":{"instrument":"USD_JPY","time":"2015-01-29T14:38:47.241261Z","bid":114.864,"ask":114.879}}
{"tick":{"instrument":"EUR_JPY","time":"2015-01-29T14:38:47.258729Z","bid":142.483,"ask":142.503}}

oanda-scala-stream-api's People

Contributors

oshiro-kazuma 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.