Skip to content

coryan/jaybeams

Repository files navigation

JayBeams Documentation

Join the chat at https://gitter.im/jaybeams/Lobby Build Status codecov Codacy Badge Documentation

Another project to have fun coding.

The JayBeams library performs relative time delay estimation of market feeds. That is, given two feeds for the same inside quote data it estimates, in near real-time which one is faster, and by how much.

  • Licensing details are found in the LICENSE file.
  • The installation instructions are in the INSTALL file.

Motivation

The US equity markets have a lot of redundant feeds with basically the same information, or where one feed is a super set of a second set. When one has two feeds an interesting question is to know how much faster is one feed vs. the other, or rather, how much faster it is right now, because the latency changes over time. There are (usually) no message IDs or any other simple way to match events in one feed vs. events in the second feed. So the problem of "time-delay estimation" requires some heavier computation, and doing this in real-time is extra challenging. The current implementation is based on cross-correlation of the two signals, using FFTs on GPUs to efficiently implement the cross-correlations.

You can find more details about the motivation, and the performance requirements on my posts

Really, that is the motivation?

I confess, I wanted to learn how to program GPUs, and given my background this appeared as an interesting application.

So where is the code?

I am pushing the code slowly. I want to make sure it compiles and passes its tests on at least a couple of Linux variants. This can be a challenge given the dependency on OpenCL libraries.

What is with the name?

JayBeams is named after a WWII electronic warfare system. The name was selected more or less at random from the Wikipedia list of such systems, and is not meant to represent anything in particular. It sounds cool, in a Flash Gordon kind of way.

Licensing and Copyright Notice

Copyright 2015-2017 Carlos O'Ryan

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

JayBeams: A Project to have fun Coding, and maybe measure relative delays in market feeds

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published