Tag Archives: Pipeline

Trading pipeline chaos?

Trading pipeline chaos?

This is a commentary from today’s trading with focus on ETE WMB CHK

Join my FREE newsletter to learn more about how automated trading can give you your own analysis

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Modern C++ Wangle pipeline server

Modern C++ Wangle pipeline server

I am seeing more ‘modern C++’ so this is another example of that. A pipeline for a message queue
medium.com/hacker-daily/writing-high-performance-servers-in-modern-c-7cd00926828#.5kng5pxal

Join my FREE newsletter to learn more about C++ for your automated trading 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Integrate Python and R into Data Analysis Pipeline

Integrate Python and R into Data Analysis Pipeline

Who knew you could integrate? Under what conditions?

http://www.kdnuggets.com/2015/10/integrating-python-r-data-analysis-part1.html

Join my FREE newsletter when to use these languages in your automated trading 

 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Redis Pipeline code in C++ and Java client

Redis Pipeline code in C++ and Java client

I will use this for message queueing with failover which is part of Redis 3

This is for mass insert so I need to test this with the link below. I hope it can work efficiently. I also looked at Erlang with examples not touch in 4 or 5 years. No thanks

 

http://stackoverflow.com/questions/13141166/c-tutorial-or-example-of-redis-for-fastest-insert
Redis pipeline example in with hiredis 
redis pipeline example java client java pipeline client https://github.com/xetorthio/jedis/blob/master/src/main/java/redis/clients/jedis/Pipeline.java Build options for Jedis: https://github.com/xetorthio/jedis/wiki/Getting-started
Build hiredis (C Client binding for Redis) 
https://github.com/antirez/redis <-- this seems to be best client option since it works best and easiest to set up. also written by salvatore the author of redis.

Seems to work ok so I will assume you can safely mix C code into C++ 

~/redis-client/hiredis/redis/deps/hiredis

Create c files with Makefile etc at https://gist.github.com/dspezia/1893378 (in above directory)

Create example.c in
/home/caustic/redis-client/hiredis/redis/deps/example# 
Use compile lines at bottom of above link to build 


You can stop any instance of Redis by doing:
/etc/init.d/redis-server stop
http://stackoverflow.com/questions/6910378/how-can-i-stop-redis-server

Performance metrics in C with HiRedis library on 4 GB Virtual Machine in Ubuntu Linux:
 4 gb virtual machine 1 million rows to insert in 7 seconds, 2 seconds to read via pipeline

For Jedis, refer to https://github.com/xetorthio/jedis/wiki/Getting-started
Download latest Jedis JAR with dependency as hinted. Create a new Eclipse project and add 
JAR files to project. 

**** HERE is an excellent and simple tutorial to get Jedis working within Java 
http://www.tutorialspoint.com/redis/redis_java.htm

Note you may need to add the Jedis JAR file by using (manually add to each terminal session?)

export CLASSPATH="$CLASSPATH:jedis-2.1.0-sources.jar"

So you should be able to build:  javac RedisJava.java

Join my FREE newsletter to see how I implement this into my algo trading environment 

Test C HiRedis library 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

#lilly #Drug #pipeline is in worse shape yet

is in worse shape yet

[igp-video src=”” poster=”https://quantlabs.net/blog/wp-content/uploads/2015/06/lilly-Drug-pipeline-is-in-worse-shape-yet.jpg” size=”large”]
#lilly #Drug #pipeline is in worse shape yet

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Is Newbraska Top court approving plan to route Keystone XL pipeline through state the only bright star in the dismal oil price drop news

Is Newbraska Top court  approving plan to route Keystone XL pipeline through state the only bright star in the dismal oil price drop news

From a Skype Contact so thanks to him

http://rt.com/usa/221179-court-keystone-nebraskaruling/

Join my FREE newsletter to learn more about oil trades

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Youtube video Demo ZeroMQ with Microsoft .NET C# with Pipeline communication pattern

Youtube video Demo ZeroMQ with Microsoft .NET C# with Pipeline communication pattern

Find out how I plan to build my HFT platform with ZeroMQ

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

My Youtube video demo of Redis with C using Pipeline for rapid data insert for high frequency trading HFT potential

My Youtube video demo of Redis with C using Pipeline for rapid data insert for high frequency trading HFT potential

This is a demo for rapid data insert which would could be real world market data. See how fast 100 million records is!!

Get access to the complete source here. 

 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!