Automated Trading Exchange Settings


Allows exchange specific settings to be set.

This command allows you to change settings on individual exchanges.

The arguments vary from exchange to exchange.

At present, BitMEX, Binance Futures & Bybit are the only exchanges that exposes any settings. Using this command on any other exchange will have no effect.

Supported Settings for BitMEX, Binance Futures & Bybit

Setting Available values
maxOrderSize=100 Set the max size of any single order. Mainly intended for use in Trading Groups.
leverage=cross Enables Cross Margin.
leverage=20 A number from 0.01 to 100. Enabled Isolated Margin and sets the leverage value to the number given. Leverage values not supported by the symbol you are trading will be rejected. It's important that this can affect any open positions you have at the time also. Note: This does not change the way order sizes are calculated (details here).

Example: Change the current leverage to 20x on BitMEX

myApiKeys(XBTUSD) {
    # Change the Leverage to 20x before we start placing orders

    # Place an order. As leverage will now be 20x
    # this will only use a small amount of available margin
    # (about $5 worth)
    market(side=buy, amount=100);

Some images from Unsplash


Your TradingView alerts, with charts, PM'd to you.

Get all your alerts from TradingView, sent to Telegram, Discord, Slack, Email or webhooks, with a chart snapshot attached.

Capture Charts

See a high quality chart with every alert, captured at the moment the alert was triggered. See exactly what the market was doing and make informed decisions.

Automate Trading

Trigger orders on popular cryptocurrency exchanges and trade 24/7. Access powerful algorithmic orders to maximise your profits.


Connect your alerts to Telegram (channels, groups and private chats), Discord, Slack, email or send push notifications to other services with webhooks.

Easy To Setup

Nothing to install and no browser extensions. Captures alerts 24/7, even with your computer switched off. Be up and running in seconds.