Skip to content

Commit a743429

Browse files
fix ordering of pyth-csv columns
1 parent 9202dfd commit a743429

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pcapps/pyth_csv.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ void print( replay& rep )
4949
std::cout << ',';
5050
str pstr = price_type_to_str( (price_type)ptr->ptype_ );
5151
std::cout.write( pstr.str_, pstr.len_ );
52+
std::cout << ',' << ptr->expo_;
5253
std::cout << ',';
5354
str sstr = symbol_status_to_str( (symbol_status)ptr->agg_.status_ );
5455
std::cout.write( sstr.str_, sstr.len_ );
55-
std::cout << ',' << ptr->expo_
56-
<< ',' << ptr->agg_.price_
56+
std::cout << ',' << ptr->agg_.price_
5757
<< ',' << ptr->agg_.conf_
5858
<< ',' << ptr->valid_slot_
5959
<< ',' << ptr->agg_.pub_slot_;

0 commit comments

Comments
 (0)