Check if it is better to invest weekly or monthly

Result

Price if you buy every month on the first
CurrentStockAmount 60.067897215018846
Current Price $2706.79
Money left $0
CurrentValue $162591.18

Price if you buy every week on the first
CurrentStockAmount 59.99910588032988
Current Price $2706.79
Money left $-0.0
CurrentValue $162404.98
Difference -0.11%