Railroad stock trading during the Civil War?

How did trading in railroads like Southern happen on the New York Stock exchange during the Civil War? Did the confederates have there own stock exhange?