Added the historical orders sending and endpoint
updated example code accordingly