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 :-)
Showing posts with label forex trading. Show all posts
Showing posts with label forex trading. Show all posts
Wednesday, 23 February 2011
Tuesday, 4 January 2011
Opensource Forex Trading...
Open source Linux components (Marketcetra, openFAST, QuickFIX, MySQL etc) used in Forex.
Thanks!
Thanks!
Sunday, 21 November 2010
Download Forex Rates Using AWK...
AWK & SED are the best tools ever developed....
I am writing an application to do Forex Analysis in AWK & SED... using SydneyForex Web-site:
Simple: In order to get the rates for AUD/PKR...
$wget https://www.sydneyforex.com.au/RateHistory.aspx?id=1
$awk '/PAKISTAN/' pakfile.txt | awk '{split($2,a,">")} {split($3,b,"<")} {split($5,c,"<")} {split(c[1],d,">")} {print a[2], b[1]," ", d[2]}';
DONE....
Stay Tuned...
I am writing an application to do Forex Analysis in AWK & SED... using SydneyForex Web-site:
Simple: In order to get the rates for AUD/PKR...
$wget https://www.sydneyforex.com.au/RateHistory.aspx?id=1
$awk '/PAKISTAN/' pakfile.txt | awk '{split($2,a,">")} {split($3,b,"<")} {split($5,c,"<")} {split(c[1],d,">")} {print a[2], b[1]," ", d[2]}';
DONE....
Stay Tuned...
Subscribe to:
Posts (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...
-
Setting up a MPI cluster on Ubuntu involves the following steps: 1. Install OpenMPI on all machines. $sudo apt-get install libopenmpi-de...
-
> dotnet add package Microsoft.SemanticKernel.PromptTemplates.Handlebars --version 1.30.0 using Microsoft . SemanticKernel ; using Micr...
-
What Happened Anthropic announced Claude Mythos Preview , a new AI model it describes as its most capable ever — and so powerful in cyber...