Code Monkey home page Code Monkey logo

fantomperformance's Introduction

FantomPerformance

Examples written in Fantom and other languages (Java, Kotlin, etc.) to compare performance

CheckDailyOHLC

This program processes a directory of stock data files in directory C:\Users{username}\IBData{symbol}. The sample files, uploaded in rut.zip, are for the {symbol} RUT, so they should be placed in C:\Users{username}\IBData\RUT. These files have names like RUT_20130913.txt. Each file is a comma separated value file of ticks (1 tick every 5 seconds from 9:30am to 4pm). The first line is a header giving the column names. The other lines look like:

09/13/2013,09:30:20,1051.98

There is an additional file in C:\Users{username}\IBData\RUT named rut.csv. It is a file downloaded from finance.yahoo.com that contains lines which are the date, time, open, high, low, and close for a number of trading days (plus a couple of other columns). A typical line looks like:

2014-04-21,1139.59,1142.39,1132.22,1142.31,26425000,1142.31

The goal of the program is to compare the open, high, low, and close reported by yahoo for a given day to the open, high, low, and close computed from each tick file downloaded from Interactive Brokers for that day.

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.