All
FAQ
Announcements
Product documents
How can I do spot trading with the Jupyter Notebook?
Learn how you can do simple Spot trading by calling the functions in the python-okx library on a Jupyter Notebook.1. How can I run Python code snippets on a Jupyter Notebook? The Jupyter Notebook is an incredibly powerful and easy-to-use tool for Python development and data analysis. You can run a Jupyter Notebook server on Windows, Mac OS or Linux. This tutorial provides a pretty comprehensive guide on how to get a Jupyter Notebook up and running.2. How can I install the python-okx package?Published on 29 Sept 2023Updated on 10 Sept 2025FAQ544How to set up an OKX Signal Trading bot with TradingView
Sample Case 2: Python Webhook Request Example ``` python import datetime import time import requests import datetime import json import log symbol = 'BTC-USDT-SWAP' # enter long demo, using 100% available balance signaldata_enterlong = { "action":"ENTER_LONG", "instrument":symbol, "signalToken":"your signaltoken", "timestamp":datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%S.Published on 30 Aug 2023Updated on 3 Dec 2025Product documentationHow can I do derivatives trading with the Jupyter Notebook?
Let's use the comprehensive features available in python-okx at a higher level!Derivatives Types There are three types of derivatives available for trading on OKX: Expiry Perpetual Options You can head over to Bitcoin derivatives, explained: Expiry, perpetual and options to learn about the characteristics of different types of derivatives on OKX. In this tutorial, we'll use Perpetual as an example.FAQ1.Published on 28 Sept 2023Updated on 12 Feb 2026FAQ194Zero-Knowledge Proofs: what are zk-STARKs and how do they work? (zk-Stark V2)
This speedup is due to the usage of the Plonky2 framework, which compiles Rust-coded circuits into efficient machine language instead of using slower Python scripts. We also enhanced Plonky2 to run some computations on GPUs, reducing the time by an extra 30%. Better auditability: With Version 2, we use a high-level framework that handles complex cryptographic details for us. This makes our code clearer, more readable, and less prone to errors.Published on 21 Oct 2024Updated on 11 Feb 2026FAQ90
Showing 1-4 of 4 articles