Just as he is forbidden from performing labor, so too he is forbidden from engaging in commerce, or from going from city to city for commerce. Regarding merchandise that he possesses, if he will not suffer a loss by not selling it now – it is forbidden to sell them. But when he will suffer a loss – it is permitted. This is the wording of our teacher, the Beit Yosef, in section 6 (Shulchan Aruch Yoreh Deah 380:6): His merchandise in a matter of loss, where if he does not sell he will lose from the principal – it may be sold through others. But if he will not lose from the principal, but rather that if he sells it now he will profit more than if he sells it later – it is forbidden. Nevertheless, if caravans or ships arrived, or if they seek to depart, and they sell cheaply or buy dearly – it is permitted to sell and buy through others, even if not for his own needs but to engage in commerce to earn a profit. Thus far his words. And this wording is also in the Tur, and in the Tosafot of Moed Katan (Moed Katan 10b, s.v. u-vidvar), see there. And it is not precise that they opened with a loss from the principal, and concluded that now he will profit more than when he sells it later, which implies that even later he will profit, only now he will profit more. And the wording of the Rosh there (siman 23) is more precise, see there. Also the Tur and the Shulchan Aruch regarding Chol HaMoed in Orach Chaim siman 539 (Shulchan Aruch Orach Chaim 539) did not write according to their wording here, see there. And it appears in my humble opinion that there are two types of merchandise: for a person whose fixed livelihood is not from this merchandise, but rather it happened upon him and he bought it and needs to sell it – for him it was not permitted except when he will lose from the principal. But one whose livelihood is from this – even the necessary profit is like the principal, for it is his sustenance. And in this, the prohibition is only if even later he will profit, but now he will profit more, for then it is forbidden. But if later he will need to sell without any profit at all – it is permitted. And as our sages, of blessed memory, said: Buy and sell, and you are called a merchant (Bava Metzia 40b), and see in section 27.
כשם שהוא אסור בעשיית מלאכה, כך הוא אסור לישא וליתן בסחורה, ולילך מעיר לעיר בסחורה. וסחורה שיש לו, אם לא יהיה לו היזק במה שלא ימכור עתה – אסור למוכרם. אבל כשיהיה לו היזק – מותר. וזה לשון רבינו הבית יוסף בסעיף ו (שולחן ערוך יורה דעה שפ, ו): פרקמטיא שלו בדבר האבד, שאם לא ימכור יפסיד מהקרן – נמכרת על ידי אחרים. אבל אם לא יפסיד מהקרן, אלא שאם ימכרנה עתה ירויח בה יותר משאם ימכרנה אחר כך – אסור. ומכל מקום אם שיירות או ספינות באו, או שהם מבקשים לצאת, ומוכרים בזול או לוקחים ביוקר – מותר למכור ולקנות על ידי אחרים, אפילו שלא לצורך תשמישו אלא לעשות סחורה להשתכר. עד כאן לשונו. וכלשון זה הוא גם בטור, ובתוספות מועד קטן (מועד קטן י ב, ד"ה ובדבר), עיין שם. ואינו מדויק שפתחו בהפסד מהקרן, וסיימו שעתה ירויח בה יותר מכשימכרנה אחר כך, דמשמע שגם אחר כך ירויח, רק עתה ירויח יותר. ולשון הרא"ש שם (סימן כ"ג) יותר מדוייק, עיין שם. וגם הטור והשולחן ערוך לענין חול המועד באורח חיים סימן תקל"ט (שולחן ערוך אורח חיים תקלט) לא כתבו כלשונם שבכאן, עיין שם. ונראה לעניות דעתי דשני מיני פרקמטיא יש: דאדם שאין פרנסתו קבועה מפרקמטיא זו, אלא שנזדמן לו וקנאה וצריך למוכרה – אצלו לא הותר רק כשיפסיד מהקרן. אבל מי שפרנסתו בכך – גם הריוח המוכרח הוי כקרן, דחיותו היא. ובזה האיסור אינו אלא אם גם אחר כך ירויח, אלא שעתה ירויח יותר, דאז אסור. אבל אם אחר כך יצטרך למכור בלא ריוח כלל – מותר. וכמו שאמרו חכמינו ז"ל: זבין וזבין תגרא איקרי (בבא מציעא מ ב), ועיין בסעיף כ"ז.