diff --git a/packages/bot-web-ui/src/stores/quick-strategy-store.ts b/packages/bot-web-ui/src/stores/quick-strategy-store.ts index 8b1b2e3742be..d1c24ed75907 100644 --- a/packages/bot-web-ui/src/stores/quick-strategy-store.ts +++ b/packages/bot-web-ui/src/stores/quick-strategy-store.ts @@ -157,14 +157,16 @@ export default class QuickStrategyStore implements IQuickStrategyStore { el_block.innerHTML = value; }); }; - const { unit, action, ...rest_data } = data; + const { unit, action, type, ...rest_data } = data; const fields_to_update = { market, submarket, tradetypecat: trade_type_cat, dalembert_unit: unit, oscar_unit: unit, + type: 'both', ...rest_data, + purchase: type, }; Object.keys(fields_to_update).forEach(key => {