knox / CrewAI-readme-3.sh
0 likes
0 forks
1 files
Last active
1 | crewai create crew <project_name> |
knox / CrewAI-readme-2.sh
0 likes
0 forks
1 files
Last active
1 | pip install 'crewai[tools]' |
knox / CrewAI-readme-1.sh
0 likes
0 forks
1 files
Last active
1 | pip install crewai |
knox / CCXT-readme-19.cs
0 likes
0 forks
1 files
Last active
1 | using ccxt; // importing ccxt |
2 | namespace Project; |
3 | class Project { |
4 | public async static Task CreateOrder() { |
5 | var exchange = new Binance(); |
6 | exchange.apiKey = "my api key"; |
7 | exchange.secret = "my secret"; |
8 | // always use the capitalized method (CreateOrder instead of createOrder) |
9 | var order = await exchange.CreateOrder("BTC/USDT", "limit", "buy", 1, 50); |
10 | Console.WriteLine("Placed Order, order id: " + order.id); |
knox / CCXT-readme-18.php
0 likes
0 forks
1 files
Last active
1 | include 'ccxt.php'; |
2 | |
3 | $poloniex = new \ccxt\poloniex (); |
4 | $bittrex = new \ccxt\bittrex (array ('verbose' => true)); |
5 | $quoinex = new \ccxt\quoinex (); |
6 | $zaif = new \ccxt\zaif (array ( |
7 | 'apiKey' => 'YOUR_PUBLIC_API_KEY', |
8 | 'secret' => 'YOUR_SECRET_PRIVATE_KEY', |
9 | )); |
10 | $hitbtc = new \ccxt\hitbtc (array ( |
knox / CCXT-readme-17.py
0 likes
0 forks
1 files
Last active
1 | # coding=utf-8 |
2 | |
3 | import ccxt |
4 | |
5 | hitbtc = ccxt.hitbtc({'verbose': True}) |
6 | bitmex = ccxt.bitmex() |
7 | huobipro = ccxt.huobipro() |
8 | exmo = ccxt.exmo({ |
9 | 'apiKey': 'YOUR_PUBLIC_API_KEY', |
10 | 'secret': 'YOUR_SECRET_PRIVATE_KEY', |
knox / CCXT-readme-16.js
0 likes
0 forks
1 files
Last active
1 | //esm example |
2 | import {version, binance} from 'ccxt'; |
3 | |
4 | console.log(version); |
5 | const exchange = new binance(); |
6 | const ticker = await exchange.fetchTicker('BTC/USDT'); |
7 | console.log(ticker); |
knox / CCXT-readme-15.js
0 likes
0 forks
1 files
Last active
1 | // cjs example |
2 | 'use strict'; |
3 | const ccxt = require ('ccxt'); |
4 | |
5 | (async function () { |
6 | let kraken = new ccxt.kraken () |
7 | let bitfinex = new ccxt.bitfinex ({ verbose: true }) |
8 | let huobipro = new ccxt.huobipro () |
9 | let okcoinusd = new ccxt.okcoin ({ |
10 | apiKey: 'YOUR_PUBLIC_API_KEY', |
knox / CCXT-readme-14.js
0 likes
0 forks
1 files
Last active
1 | // both of these notations work in JavaScript/Python/PHP |
2 | exchange.methodName () // camelcase pseudocode |
3 | exchange.method_name () // underscore pseudocode |
knox / CCXT-readme-13.sh
0 likes
0 forks
1 files
Last active
1 | docker-compose run --rm ccxt |