Deductions & credits

what if this results in negative capital gains as per usa basis but positive tax gains as per india basis?