KirillBelov/ WAEXLink

(1.0.9) current version: 1.0.10 »

Wolfram Language client for WAEX API

Contributed by: Kirill Belov

Wolfram Language client to Wolfram Cryptocurrency Database.

Installation Instructions

To install this paclet in your Wolfram Language environment, evaluate this code:
PacletInstall["KirillBelov/WAEXLink"]


To load the code after installation, evaluate this code:
Needs["KirillBelov`WAEXLink`"]

Details

You must save your API token to environment variable "WAEX_API_TOKEN".

Examples

Basic Examples

REST API (6) 

Login:

In[1]:=
WAEXLogin["kirillbelovtest@gmail.com", "1234asdf"]
Out[1]=

Saved creds:

In[2]:=
$WAEXCredentials
Out[2]=

Get list of crypto exchanges:

In[3]:=
exchages = WAEXExchanges["limit" -> 2]
Out[3]=

List of markets:

In[4]:=
markets = WAEXMarkets["limit" -> 2]
Out[4]=

Token:

In[5]:=
tokens = WAEXTokens["limit" -> 2]
Out[5]=

Order book:

In[6]:=
orderBook = WAEXOrderBooks["BTC/USDT", "exchangeNames" -> "Binance", "rangeDateStart" -> DateObject[{2024, 12, 16}], "rangeDateEnd" -> DateObject[{2024, 12, 19}]
  ]
Out[6]=

RealTime API (6) 

Create connection using login and password for authorization:

In[7]:=
connection = WAEXConnect["kirillbelovtest@gmail.com", "1234asdf", "MessageHandler" -> Print
   ];

Subscribe to AggregateOHLCV events:

In[8]:=
WAEXSubscribeToAggregateOHLCV[connection];

Acknowledgment:

Subscribe to Pricing events:

In[9]:=
WAEXSubscribeToPricing[connection, "CandleStick", 1];

Results are collecting to the Data property:

In[10]:=
connection["Data"]
Out[10]=

Printed by custom handler (here is Print):

Publisher

Kirill Belov

Disclosures

Compatibility

Wolfram Language Version 14

Version History

  • 1.0.10 – 03 April 2025
  • 1.0.9 – 26 March 2025
  • 1.0.8 – 21 March 2025
  • 1.0.7 – 21 March 2025
  • 1.0.6 – 20 March 2025
  • 1.0.5 – 19 March 2025
  • 1.0.4 – 19 March 2025
  • 1.0.3 – 14 March 2025
  • 1.0.2 – 14 March 2025
  • 1.0.1 – 11 March 2025
  • 1.0.0 – 19 December 2024

License Information

MIT License

Paclet Source