Closed joshpelkey closed 6 years ago
Update this to do modified_on, rather than created on. You should be winning/losing money based on when the bet is marked as complete
proposed = ProposedBet.objects.filter( user=current_user, created_on__range=( start_date, end_date)).count() accepted = AcceptedBet.objects.filter( accepted_user=current_user, created_on__range=( start_date, end_date)).count()
Update this to do modified_on, rather than created on. You should be winning/losing money based on when the bet is marked as complete
find total number proposed and accepted in that range