How I can create an object on XD with a fixed position (stays always on the screen)
This functionality isn't supported in Adobe XD right now, but it's something we're looking at the the future! You can upvote to get more information (and tell us you want it) here: Sticky (Fixed) elements in scrolling artboards (header, nav bar, etc.) – Adobe XD Feedback : Feature Requests & Bugs
Retrieving data ...