save closed trades to local db