I’m having trouble with this error, I’ve read through this forum and I know there was a solution found but I can’t find that solution anywhere. Please help me.
edit: same thing on the placeOrder middleware. Working on the placeOrder endpoint. Gonne try the one in the faq repository tomorrow.
This is the websocket I’m trying to use and I keep getting error 404. Please help
const URL = process.env.WS_URL + /orderStrategy/startOrderStrategy
const mySocket = dev_mode ? getReplaySocket() : getSocket()
mySocket.onOpen = function() {
mySocket.request(`/authorize\n0\n\n${process.env.ACCESS_TOKEN}`)
}
let dispose = mySocket.request({
url: process.env.WS_URL + `/orderStrategy/startOrderStrategy\n4\n\n${JSON.stringify(body)}`,
callback: (id, r) => {
console.log('[startOrderStrategy] Response from trying to place the order RSSS:', r.s)
console.log('[startOrderStrategy] Response from trying to place the order RIII:', r.i)
console.log('[startOrderStrategy] Response from trying to place the order RDDD:', r.d)
dispose()
}