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 Sep 29, 2023Updated on Sep 10, 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 Aug 30, 2023Updated on Dec 3, 2025Product documentationZero-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 Oct 21, 2024Updated on Feb 11, 2026FAQ90
Showing 1-3 of 3 articles