TradingToolCrypto / MT5-TradingToolCrypto

All the tradingtools: crypto integration to metatrader including cryptobridgepro, crypto charts, paymentbot, indicators, robots are located here. Just download the zip folder, drag and drop into Metatrader 5 directory
https://tradingtoolcrypto.com
106 stars 33 forks source link

Bybit v5 API #24

Open TradingToolCrypto opened 3 months ago

TradingToolCrypto commented 3 months ago

Bybit has 4 types 👍 These market types are

Enter the market type into the robot under API KEYS where it says LiveDemo :

Wallets

Unified api has two wallets : Unified and Contract ( inverse perps: which is the Crypto Base Asset markets such as BTCUSD ETHUSD, etc). The data is returned to the user via GlobalVariables (mt5 platform local storage)

Unified

Contract

Charts

If any charts are created for Bybit, the returning exchangeNumber = 2 ( unified api v5)

TradingToolCrypto commented 2 months ago

Robot: CB_Charts supports Bybit spot market by default.

TradingToolCrypto commented 2 months ago

Available functions : https://github.com/TradingToolCrypto/MT5-TradingToolCrypto/blob/8eedab4a07aad1def69f857cb9c4c6a6a16a3c1a/MQL5/Include/TradingToolCrypto/CBP/CryptoBridgeProClass.mqh#L159

todo

conditional orders:

v5

How to create conditional order:

When submitting an order, if triggerPrice is set, the order will be automatically converted into a conditional order. In addition, the conditional order does not occupy the margin. If the margin is insufficient after the conditional order is triggered, the order will be cancelled.

sl , tp (not supported)

Note: The TP/SL of Spot Trading is different from that of Perpetual and Futures Contracts.

https://bybit-exchange.github.io/docs/v5/order/create-order