Merge pull request #255 from oxarbitrage/patch-4
market_history plugin fix
This commit is contained in:
commit
01f5a4e1c9
1 changed files with 2 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ struct operation_process_fill_order
|
||||||
|
|
||||||
hkey.sequence += 200;
|
hkey.sequence += 200;
|
||||||
itr = history_idx.lower_bound( hkey );
|
itr = history_idx.lower_bound( hkey );
|
||||||
|
/*
|
||||||
while( itr != history_idx.end() )
|
while( itr != history_idx.end() )
|
||||||
{
|
{
|
||||||
if( itr->key.base == hkey.base && itr->key.quote == hkey.quote )
|
if( itr->key.base == hkey.base && itr->key.quote == hkey.quote )
|
||||||
|
|
@ -120,6 +120,7 @@ struct operation_process_fill_order
|
||||||
}
|
}
|
||||||
else break;
|
else break;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
auto max_history = _plugin.max_history();
|
auto max_history = _plugin.max_history();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue