Viewing 6 posts - 1 through 6 (of 6 total)
Thanks!
Yes, What I want is in final table to have account, symbol and pnl depending on the size. PnL corresponding to trade quantity less that 1000, 1000 - 10000 and...
March 11, 2012 at 2:44 pm
Thank you!!! Wow that works great!
If I want to divide into different buckets by size for example <1000, 1000-10,000 and >10000. Whats the best way to do this.
Thanks again...
March 11, 2012 at 2:34 pm
Oops I posted a wrong query.
Working query:
select sum(convert(int, A.exeQty))/2 from
(select RPM.Account, RPM.Symbol, RPM.PandL, RMM.exeQty, RMM.Side, RMM.Creation_Date
from Redi_Position_Monitor RPM, Redi_Message_Monitor RMM
where
RPM.Position = 0 and
RPM.Symbol = RMM.Symbol and
RPM.Account =...
March 11, 2012 at 2:22 pm
Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (...)
March 11, 2012 at 2:06 pm
Here is what I have done, I am sure there is much better way of doing it. Since I am used to matlab I wrote is similar style.
CREATE PROCUDURE...
March 8, 2012 at 3:51 pm
Viewing 6 posts - 1 through 6 (of 6 total)