0
Follow
0
Followers
Como faço para alternar entre plataformas e exchanges para interagir?
Created 2023-10-17 21:33:00
1
1061
Questões
Esperamos que com a troca de exchanges[i] Obtenção de diferentes ListenKey
exchange.IO("api", "POST", "/api/v3/userDataStream")
Ao testar diferentes plataformas sob a mesma estratégia, independentemente de como as exchanges atribuem valor, o valor da chave retornada é o mesmo, se é possível considerar que as exchanges não trocaram no passado.
Pergunto-me, como é que isso vai acontecer?
Related Recommendations
Inventor Quant Workflow FAQ (Continuously Updated)Financial Magic Zone Global KOL RecruitmentFAQ Summary (Updating...)PINE Language Introductory Tutorial of FMZ QuantPrimary Tutorial of Strategy Writing with FMZ Quant Trading Platform (Must Read)Getting Started with FMZ Quant Trading Platform (Must Read)MyLanguage Doc
Comment
All comments (1)
function getListenKey(exchangeIndex) {
var e = exchanges[exchangeIndex]
var key = e.IO("api", "POST", "/api/v3/userDataStream")
Log(key)
return key
}
function main() {
var key0 = getListenKey(0)
var key1 = getListenKey(1)
}
是这个意思吗?
3 years ago
- 1

