Trading Widget SDK

Embed the 6MM trading terminal into a partner page through an iframe.
View as Markdown

Responsibility split

AreaOwnerNotes
Container creationPartner frontendProvide a visible element with explicit width and height.
iframe creationTrading Widget SDKThe SDK creates and manages the iframe.
Trading UI6MM iframeK-line, order book, order form, positions, orders, and account data run inside the iframe.
Partner login checkPartner backendValidate the partner user session before issuing auth credentials.
Embed token issuancePartner backend + Agent APIRecommended for partner-token mode.

Versioning

The public integration path remains stable under the v1 script URL. The current v1 capability set includes partner-token, tokenProvider, entryUrlProvider, lifecycle events, instance methods, and order events.

1<script src="https://app.6mm.com/sdk/trading-widget/v1/index.js"></script>