예제 #1
0
파일: Report.cs 프로젝트: kwangphys/QT
        private string getQueryWithAccount()
        {
            return(@"select e.id as execution_id, o.id as order_id, o.contract_id as contract_id, o.strategy_id as strategy_id, e.timestamp as timestamp, e.filled_quantity as filled_qty, 
e.filled_price as filled_price, o.order_type as order_type, o.limit_price as limit_price, o.stop_price as stop_price, o.parent_id as parent_id, c.lot_size as lot_size
from executions e inner join orders o on e.order_id = o.id inner join contracts c on o.contract_id = c.id where o.account = " + _db.getSqlString(_account));
        }