Thursday, July 24, 2014

Trade Ideas Market Recap Thursday July 24, 2014

Active day for me – crazy Z and TRLA action. Traded TEX, ENPH, BC, FTI, VFBC and VRS.




Contact:
Barrie Einarson
barrie @trade-ideas. com
Trade Ideas Trading Room Moderator
http://forums.trade-ideas.com

Wednesday, July 23, 2014

Trade Ideas Market Recap Wednesday July 23, 2014

Traded ATI, DRL, ADI, DOW and TGTX!




Contact:
Barrie Einarson
barrie @trade-ideas. com
Trade Ideas Trading Room Moderator
http://forums.trade-ideas.com

Tuesday, July 22, 2014

Trade Ideas Market Recap Tuesday July 22, 2014

For a day in which the SPY was mostly at a standstill, was able to find 5 trades: ENPH, COL, BLL, ARMH and HXL




Contact:
Barrie Einarson
barrie @trade-ideas. com
Trade Ideas Trading Room Moderator
http://forums.trade-ideas.com

Webinar replay: Get the most out of your workspace with Trade Ideas on Lightspeed! (July 16, 2014)

Workspaces are the incubators where information and action are translated into productivity and good trading decisions.

The environment we trade in has a considerable impact on both our level of wellbeing, our productivity, and even our bottom line. The design and layout of our office or, workspace, can have an effect on our work productivity, frame of mind, mood, interaction with our colleagues, and even has an influence on how much time we spend distracted from our work. The same holds true for how you organized to make a trade.

In this webinar we'll not only show you the advanced trading technology of Brokerage Plus for Lightspeed from Trade Ideas, but we will show you workspaces and layouts that will put the wind in your sails when trading.

This webinar aired live on July 16, 2014. Below is an embedded video of the webinar replay. Beneath the embedded video is a table with direct links to topics. The total length of the webinar is 36m:57s.

Go here to learn more about TI Pro: Brokerage Plus for Lightspeed

Trade Ideas is FREE to use for Lightspeed customers. There may be a Qualified Message fee if using automated trading. Contact Lightspeed for the commission pricing details.



Introduction by Lightspeed 1:15m open in new window
Dan Mirkin begins Trade Ideas introduction 3:45m open in new window
Get Trade Ideas FREE with Lightspeed 4:00m open in new window
Start of Trade Ideas presentation 5:50m open in new window
See the BIG PICTURE, make decisions 6:55m open in new window
Tour of Trade Ideas windows begins 7:25m open in new window
TI Pro: Toolbar 8:10m open in new window
TI Pro: Top List Window (Market Leaders) 9:00m open in new window
Overview of an efficient layout: essential for decision making 9:30m open in new window
Discussion of market benchmarks, linking with Lightspeed 11:00m open in new window
Demonstration: double-click linking 12:35m open in new window
TI Pro: Single Stock Window 12:55m open in new window
TI Pro: Multi-Strategy Window (Event Watcher) 13:30m open in new window
TI Pro: Top List Window (Biggest Pullbacks) 14:15m open in new window
How to become expert at identifying opportunities 16:00m open in new window
TI Pro: Top List (Biggest Bounce) 16:45m open in new window
How to use your workspace effectively 17:10m open in new window
Using the information for ideas 18:00m open in new window
TI Pro: Top List (Social Media) 19:00m open in new window
Single Stock Window: confirming data 21:00m open in new window
TI Pro: Brokerage Plus & Lightspeed integration 22:06m open in new window
How trading works in Brokerage Plus 23:30m open in new window
Sorting TI Pro columns to find new trade ideas 25:00m open in new window
What makes Trade Ideas different: finding opportunities in any market 26:15m open in new window
Trade Ideas is a full solution 31:30m open in new window
Commission pricing using Brokerage Plus with Lightspeed 32:00m open in new window

Monday, July 21, 2014

Trade Ideas Market Recap Monday July 21, 2014

Traded HS, ENDP and STI.




Contact:
Barrie Einarson
barrie@ trade-ideas. com
Trade Ideas Trading Room Moderator
http://forums.trade-ideas.com

Saturday, July 19, 2014

Toolkit, Part II

I want to show you the easy way to read results from MySQL in C++.  But, we're not ready yet.  In a previous article I showed you some of the basic tools that we reuse in a lot of places.  Before we get to the MySQL code, I need to show you more of these basic tools.

Have you noticed a theme here?  Good programming involves:
  • Finding the easiest way to do things.
  • And reusing a lot of the work you've already done.
A lot of my MySQL code is based on the way I use MySQL in PHP.  So it shouldn't be surprising that I use a smart pointer class in the C++ version.  Now you can pass around the result from a MySQL query without worrying about memory allocation.  The memory will automatically be released when we are done with it, no sooner, no later.  That's a big step making C++ easier to use, and more like PHP.

This article includes the code for my RefCount class.  I won't discuss the details.  This is a textbook exercise that you should have seen in school.  As I mentioned in a previous article, I actually have multiple versions of this class.  This version is not thread safe.  It doesn't have to be.  The underlying MySQL result object is not thread safe.  A version of this class is present in the newest versions of C++.  I've been using my library since long before it became standard.  I see no reason to change (and re-test!) a lot of working code.

I'm including the code for RefCount so the rest of the code I present will compile.  I won't be offended if you use the new, standard smart pointers in your own code.

The other big thing that I need is a way to convert strings into integers and floating point numbers.  The default way that MySQL works is to send everything as a string.  There are alternatives, but these have their plusses and minuses.  My MySQL classes are based on the most common case, and can easily be used in a lot of places.

Of course, C comes with code that converts strings to numbers.  But that code is very hard to use.  The library I'm showing you is a wrapper around the standard C code.

I've actually included several versions of my string to number conversion code.  The first thing to notice is that most of these use a default.  The user provides a string and a default value.  If the string is not a valid number, we return the default value, rather than reporting an error.

This is another common theme in my code.  In a previous article I showed how to read from a map, and return a default item if the requested item was not found.  One nice thing about default values is that they flow from one decision to the next.  If you look up an item in a map, and you convert that item from a string to a number, either step could fail.  Do you really care which step failed?  Perhaps sometimes you do, but that's not the common case.  Look up the value and return "" if it doesn't exist.  Convert the value to a number, and return -1 if it's not a value number.  You will get -1 if either case fails.

This will become more important as the code gets more complicated.  There are more and more places where a failure could occur.  Usually you don't care about the details.  Either everything worked or something failed.  Those are the only two interesting cases.

I offer a version of the conversion code which will throw a specific exception on failure.  That was helpful in one very specific place in my code.  It won't be used in the MySQL code.

Another option in the code is whether you want to use char * or std::string to represent a string.  The bulk of my code uses std::string exclusively.  I added the char * version just for the MySQL code.  The MySQL API gives me a char *, and the C conversion routines read a char *.  It seemed wasteful to create a temporary object of a different type.

My standard library also includes two special classes, NoCopy and NoAssign.  If you inherit from NoCopy, C++ will not automatically create the copy constructor.  If you inherit from NoAssign, C++ will not automatically create the assignment operator.

These are useful in a lot of places.  But they work especially well in combination with the smart pointers.  You don't want to copy or assign a MySQL result.  These are opaque pointers.  MySQL doesn't give you an API to copy their data.  Instead, you just want to copy and assign the smart pointers to the data.  If you try to copy or overwrite the actual data, the compiler will give you an error.

As with the smart pointers, the newest C++ standard includes something similar.  But I've had these classes for years, and I'm not going to rewrite (and re-test!) a lot of working code.


Friday, July 18, 2014

Trade Ideas Market Recap Friday July 18, 2014

The market rebounded after yesterday’s Airline tragedy. Kudos to Paul for his RP call, traded RP, HCN, USU and KORS




Contact:
Barrie Einarson
barrie@ trade-ideas. com
Trade Ideas Trading Room Moderator
http://forums.trade-ideas.com

Thursday, July 17, 2014

Trade Ideas Market Recap Thursday July 17, 2014

The downing of the Malaysian airliner obviously affected the markets today – only 2 trades, USU and TEX.




Contact:
Barrie Einarson
barrie@ trade-ideas. com
Trade Ideas Trading Room Moderator
http://forums.trade-ideas.com