Added a Trade object, because the dictionary approach was annoying me.