0
Follow
0
Followers
¿Cómo escribir contratos largos, cortos, abiertos y cerrados en OKEx?
Created 2018-06-03 20:50:44 Updated 2019-07-31 17:33:51
3
4585
La API nativa de okex permite realizar todo tipo de transacciones a través de los campos de tipo 1: abierto + 2: abierto + 3: abierto + 4: abierto.
Pero, ¿cómo se escribe a través de una API cuantificada por el inventor?
¿Es así?
¿Qué es esto?
exchange.SetDirection("buy")
exchange.Buy(Price, Amount)
¿Qué es eso?
exchange.SetDirection("closebuy")
exchange.Sell(Price, Amount)
El espacio
exchange.SetDirection("sell")
exchange.sell(Price, Amount)
El espacio
exchange.SetDirection("closesell")
exchange.buy(Price, Amount)
Related Recommendations
The grid trading strategyPython streamlined multi-variety MACD trending strategy frameworkin main TypeError: IO() takes at most 3 arguments (5 given)symbol not setGetTicker: 400: {"code": 2, "data": {}, "message": "invalid params"}gateio getdepth 502Decrypt: Secret key decrypt failedGetOrders: 400: {"code":-1121,"msg":"Invalid symbol."}HTTP 403 errorBitcoin trading by using bots
Comment
All comments (3)
