# CCXT Cryptocurrency Trading Library Examples

# [Examples](#examples) · [Citations](#ccxt-citations-in-papers-and-theses) · [Tutorials](#see-also)
## Examples
To run the ccxt examples from any folder type one of the following commands in console.
### Typescript
[Typescript Examples](/examples/ts/)
---
### JavaScript
[JavaScript Examples](/examples/js/)
```shell
node path/to/example.js # substitute for actual filename here
```
These examples might require the following super-useful high-quality Node.js modules by [xpl](https://github.com/xpl):
- [ololog](https://github.com/xpl/ololog): Platform-agnostic logging with blackjack and hookers ([ololog @ npm](https://npmjs.com/package/ololog))
- [ansicolor](https://github.com/xpl/ansicolor): A quality JavaScript library for the ANSI color/style management ([ansicolor @ npm](https://npmjs.com/package/ansicolor))
- [as-table](https://github.com/xpl/as-table): A simple function that prints objects as ASCII tables ([as-table @ npm](https://npmjs.com/package/as-table))
All of the modules above are installed with the ccxt library devDependencies by npm automatically.

---
### PHP
[PHP Examples](/examples/php/)
```shell
php -f path/to/example.php # substitute for actual filename here
```
---
### Python
[Python Examples](/examples/py/)

```shell
python path/to/example.py # substitute for actual filename here
```
-------------------------------------------------------------------------------
## CCXT Citations In Papers And Theses
- [Developing Predictive and Explainable Models for Cryptocurrency Delistings: A Case Study of Binance Exchange](https://onlinelibrary.wiley.com/doi/epdf/10.1111/ajfs.70045)
2026, **Sungju Yang**, **Hunyeong Kwon** (School of Cybersecurity, Korea University)
- [Do Whitepaper Claims Predict Market Behavior?](https://arxiv.org/pdf/2601.20336)
2026, **Murad Farzulla** (Dissensus AI, King’s College London)
- [An Adaptive Neuro-Fuzzy Blockchain–AI Framework for Secure and Intelligent FinTech Transactions](https://arxiv.org/pdf/2603.23829)
2026, **Gunjan Mishraa**, **Yash Mishrab** (Lakshmipat University)
- [A Unified GRU Model for Cryptocurrency Price Prediction and Harsh Price Movement Detection Using Enhanced Sentiment Analysis]()
2026, **Mahmood Mohammadi Nezhad**, **Saeed Rouhani**, **Navid Mohammadi** (University of Tehran), **Ali Shahedi** (Sharif University of Technology)
- [Bitcoin Price Prediction Using Machine Learning in Python]()
2025, **Thillainayagi S**, **Pavan P**, **Shashank S**, **Preetham LV**, **Vishwanath BY** (East West College of Engineering, Bangalore, India)
- [Evaluating machine learning models for predictive accuracy in cryptocurrency price forecasting](https://peerj.com/articles/cs-2626.pdf)
2025, **Shavez Mushtaq Qureshi**, **Asad Rehman Khattak**, **Muhammad Shah Rukh** (Qarshi University), **Atif Saeed**, **Farooq Ahmad** (COMSATS University Islamabad), **Sultan H. Almotiri**, **Mohammed A. Al Ghamdi** (Umm Al-Qura University)
- [Machine Learning-Based Detection of Pump-and-Dump Schemes in Real-Time](https://arxiv.org/pdf/2412.18848)
2024, **Manuel Bolz**, **Kevin Bründler**, **Liam Kane**, **Panagiotis Patsias**, **Liam Tessendorf**, **Krzysztof M. Gogol**, **Taehoon Kim**, **Claudio J. Tessone** (University of Zurich)
- [Forecasting cryptocurrency's buy signal with a bagged tree learning approach to enhance purchase decisions](https://pmc.ncbi.nlm.nih.gov/articles/PMC11112015/)
2024, **Raed Alsini**, **Abdulaziz A Alsulami**, **Abdulaziz A Alqurashi**, **Nawaf Alhebaishi**, **Badraddin Alturki**, **Mouhamad D Mashat** (King Abdulaziz University), **Qasem Abu Al-Haija** (Jordan University of Science and Technology), **Ali Alqahtani**, (Najran University)
- [A Hybrid COMTE-LEFTIST Time-Series Explanation Method For a Time-series Classification Bitcoin Recommendation System](https://openreview.net/pdf?id=IepDSQDWWv)
2024, **Lucas Rabelo de Araujo Morais**, **Teresa Bernarda Ludermir** (Universidade Federal de Pernambuco)
- [Deep Complex Networks: Applications in Financial Systems Modeling](https://discovery.ucl.ac.uk/10201193/13/Briola_10201193_thesis.pdf)
2024, **Antonio Briola** (University College London)
- [FTX’s downfall and Binance’s consolidation: the fragility of Centralized Digital Finance](https://arxiv.org/pdf/2302.11371)
2023, **David Vidal-Tom´as**, **Antonio Briola**, **Tomaso Astea** (University College London)
- [Detecting Pump-and-Dumps with Crypto-Assets](https://www.mdpi.com/2225-1146/11/3/22)
2023, **Dean Fantazzini**, **Yufeng Xiao** (Moscow State University)
- [Detecting Depegs: Towards Safer Passive Liquidity Provision on Curve Finance](https://arxiv.org/pdf/2306.10612)
2023, **Thomas Cintra**, **Max Holloway** (Xenophon Labs)
- [Development Of A Cryptocurrency Bot](https://upcommons.upc.edu/bitstream/handle/2117/385422/DevelopmentOfACryptocurrencyBot.pdf)
2023, **José Manuel Rodríguez Lomeña** (Universitat Polit`ecnica de Catalunya)
- [Dependency Structures in Cryptocurrency Market from High to Low Frequency](https://researchonline.lse.ac.uk/id/eprint/117410/1/entropy_24_01548_v2.pdf)
2022, **Antonio Briola** (University College London), **Tomaso Astea** (London School Of Economics)
- [Anatomy of a Stablecoin’s failure: the Terra-Luna case](https://arxiv.org/pdf/2207.13914)
2022, **Antonio Briola**, **David Vidal-Tom´as**, **Yuanrong Wanga** (University College London), **Tomaso Astea** (London School Of Economics)
- [FreqAI: generalizing adaptive modeling for chaotic time-series forecasting](https://joss.theoj.org/papers/10.21105/joss.04864.pdf)
2022, **Robert A. Caulk**, **Elin Törnquist**, **Matthias Voppichler**, **Andrew R. Lawless**, **Ryan McMullan**, **Wagner Costa Santos**, **Timothy C. Pogue**, **Johan van der Vlugt**, **Stefan P. Gehring**, **Pascal Schmidt** (Freqtrade)
- [Analysis and Implementation of Arbitrage Bots in Centralized and Decentralized Finance](https://capuana.ifi.uzh.ch/publications/PDFs/22625_Analysis_and_Implementation_of_Arbitrage_Bots_in_Centralized_and_Decentralized_Finance.pdf)
2022, **Claudio Gebbia** (University of Zurich)
- [Hybrid Cryptocurrency Pump and Dump Detection](https://arxiv.org/pdf/2003.06551)
2020, **Hadi Mansourifar**, **Weidong Shi** (University of Houston), **Lin Chen** (Texas Tech University)
- [Cryptocurrency Trading: A Comprehensive Survey](https://arxiv.org/pdf/2003.11352)
2020, **Fan Fang**, **Carmine Ventre**, **Michail Basios**, **Leslie Kanthan**, **David Martinez-Rego**, **Fan Wu**, **Lingbo Li** (King’s College London)
- [Algorithm for cryptocurrency price discrepancy detection](https://oa.upm.es/64889/1/TFM_DANIEL_MINGUEZ_CAMACHO.pdf)
2020, **Imre Lendak**, **Marta Patiño Martínez**, **Gergely Tyukodi**, **Daniel Minguez Camacho** (Universidad Politécnica de Madrid)
- [An Empirical Analysis of the Python Package Index (PyPI)](https://arxiv.org/pdf/1907.11073.pdf)
2019, **Ethan Bommarito**, **Michael J Bommarito II** (University of Michigan)
- [To the moon: defining and detecting cryptocurrency pump-and-dumps](https://link.springer.com/content/pdf/10.1186/s40163-018-0093-5.pdf)
2018, **Josh Kamps** (VU University Amsterdam), **Bennett Kleinberg** (University College London)
-------------------------------------------------------------------------------