Former Argentine President Cristina Fernandez on Wednesday filed a complaint against the judge who recently opened an investigation into allegations she defrauded the state as part of her government's handling of the dollar futures market.

Fernandez, who governed Argentina from 2007 to 2015, filed the complaint against judge Claudio Bonadio after appearing in his court in connection with the case.

She told reporters that "it has been visibly demonstrated" that the harassment against her reached "ridiculous" proportions. She said she took advantage of her visit to the court building to file a complaint with a federal prosecutor alleging that the judge and a lawmaker had colluded in the case.

The former president was referring to Tuesday's legal request by lawmaker Margarita Stolbizer to investigate whether Fernandez and her two children had several million dollars in illicit cash guarded in safes. Fernandez said Stolbizer's request was based on false information that originated from raids that Bonadio ordered on her properties.

During her eight years in the presidency, Fernandez was dogged by corruption allegations. Since leaving office, she has also been investigated for possible connections to alleged money laundering by recently arrested businessman Lazaro Baez.

Fernandez, a left-leaning politician, has denied any wrongdoing and says the cases against her are political persecution by her conservative successor, President Mauricio Macri.