Redis NOSQL and MotiveWave Java SDK on Windows 10 works

(Last Updated On: October 29, 2020)
Learn the Secret

Get  our 2 Free Books

Get these now which land directly to their inbox.
Invalid email address

A new bug has been fixed by the responsive folks at MotiveWave . I wanted to address it as well showcasing how to run Redis NOSQL on your Windows 19 with the new WSIL 2 Debian distro. ALso, i showcase how test the Redis connection from within your MotiveWave strategy Java code

Get some free trading tech book PDFs ?

Learn more about our programming services

USB keyHere are the code snippets to help out

import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPubSub;

		namespace = "com.motivewave",
		rb = "",
		name = "MACD Reversing Strategy Level2  Redis",
		desc = "MACD Reversing Strategy uses MACD Reversing Level2 Study Redis",
		menu = "Examples",
		overlay = false,
		signals = true,
		strategy = true,
		autoEntry = true,
		manualEntry = false,
		supportsUnrealizedPL = true,
		supportsRealizedPL = true,
		supportsTotalPL = true,
		supportsPositionType = true).


	protected void calculate(int index, DataContext ctx)
		Instrument instr = ctx.getInstrument();
		String inst = instr.getSymbol(); //toString();
		this.debug("in calculate()...");

		Jedis jedis = new Jedis("localhost");
		//adding a new key
		this.debug("hello attempt in acticate to create key with value in Redis");

		//String inst = instr.toString();
//		this.debug(inst);

		jedis.hset("Crypto", "btcusd", "hithere");
		String dataJson = jedis.hget("Crypto", "BTCUSDT");
		debug("redis return");

		if(jedis != null) 
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!
This entry was posted in Bitcoin Crypto Currency, Forex, Quant Development, Trading on by .

About caustic

Hi i there My name is Bryan Downing. I am part of a company called QuantLabs.Net This is specifically a company with a high profile blog about technology, trading, financial, investment, quant, etc. It posts things on how to do job interviews with large companies like Morgan Stanley, Bloomberg, Citibank, and IBM. It also posts different unique tips and tricks on Java, C++, or C programming. It posts about different techniques in learning about Matlab and building models or strategies. There is a lot here if you are into venturing into the financial world like quant or technical analysis. It also discusses the future generation of trading and programming Specialties: C++, Java, C#, Matlab, quant, models, strategies, technical analysis, linux, windows P.S. I have been known to be the worst typist. Do not be offended by it as I like to bang stuff out and put priorty of what I do over typing. Maybe one day I can get a full time copy editor to help out. Do note I prefer videos as they are much easier to produce so check out my many video at