All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
You bear no sin for withdrawing what is left of your money to invest it in lawful investment projects. Whoever gives something up for the Sake of Allah, He will compensate him with something better. Allah, The Almighty, Says (what means): {And whoever fears Allah – He will make for him a way out And will provide for him from where he does not expect.} [Quran 65:2-3]
It was narrated on the authority of Abu Umaamah that the Prophet said: “…no soul would die until it receives its share of provisions in full. So fear Allah and be graceful in seeking provision (seek it in a proper lawful way), and no one of you should be tempted to seek provision by means of committing sin when it is slow in coming to him. Indeed, what is with Allah can only be attained by obeying Him.” [Abu Nu‘aym]
For more benefit on Dealing with Forex trading, please refer to Fataawa 128663 and 372496.
Allah Knows best.