tomatophobia / allowance-chart

다수의 증권 계좌로 구성된 포트폴리오 관리 서비스
1 stars 0 forks source link

거래비용 계산시 Account의 거래비용만 사용하는 것이 아니라 주식이 속한 마켓에서 비롯되는 세금을 사용해야 한다. #36

Closed tomatophobia closed 2 years ago

tomatophobia commented 2 years ago

근데 생각해보니까 거래 비용은 증권사의 수수료 + 세금인데 이 때 세금이 증권사랑 관련 없고 시장과 관련이 있음. 지금 코스피, 미국 시장에 투자하고 있어서 수수료 계산할 때 결국 마켓에서 비롯되는 세금, 계좌에서 비롯되는 수수료를 분리해야 한다.

Originally posted by @tomatophobia in https://github.com/tomatophobia/allowance-chart/issues/35#issuecomment-1046030131

tomatophobia commented 2 years ago

증권사 거래내역에 세금과 수수료가 들어있으므로 그 값을 사용한다