updated with spot price fix, sec_group falls back to default if not passed