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 :-)
Subscribe to:
Post Comments (Atom)
Executive Summary: Anthropic's Claude Mythos Model
What Happened Anthropic announced Claude Mythos Preview , a new AI model it describes as its most capable ever — and so powerful in cyber...
-
> dotnet add package Microsoft.SemanticKernel.PromptTemplates.Handlebars --version 1.30.0 using Microsoft . SemanticKernel ; using Micr...
-
Setting up a MPI cluster on Ubuntu involves the following steps: 1. Install OpenMPI on all machines. $sudo apt-get install libopenmpi-de...
-
Finding a session: ------------------ SELECT USERNAME, OSUSER, MACHINE, SID, SERIAL#, STATUS, SECONDS_IN_WAIT from v$session WHERE TYPE != ...
No comments:
Post a Comment