Wednesday, 23 February 2011

Stock Exchange Stream Processing Simulator...

In this post i will demostrate how to write the world simplest tick data generator:

This command will write data to a file asx.txt:
-----------------------------------------------
$ while [ 1 ]; do echo $RANDOM >> asx.txt; done;

This command will read asx.txt in almost real-time:
---------------------------------------------------
$tail -f asx.txt -s 0.00001

you can write your strategies on this real-time data. This will just be like data coming from any data providing service/company.

Enjoy :-)

No comments:

Post a Comment

Using Handlebar Prompt in Semantic Kernal

> dotnet add package Microsoft.SemanticKernel.PromptTemplates.Handlebars --version 1.30.0 using Microsoft . SemanticKernel ; using Micr...