프로젝트
GitHub에서 보기
blinktrade/algorithm-trading
소개
List of blinktrade approved algorithm trading strategies
비즈니스 및 금융측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalalgorithm-trading ( DOCUMENTATION IS INCOMPLETE, TAKE A LOOK AT THE EXAMPLES )
This repository contains algorithm trading programs ( AKA trading strategies, trading bot ) which are compatible with all exchanges running the blinktrade platform. Those algorithms are executed in the users browser context and not in the servers.
Pre-requisites to create your own algorithm trading
- Basic knowledge of JavaScript
- Curiosity
Is there a test environment to test my algorithms?
List of blinktrade approved algorithm trading strategies
Basic structure of an algorithm
-----BEGIN ALGO DEFINITION-----
{
"id": "any_id_here",
"description": "Description of what your algorithm does",
"params": [
{"name":"your_parameter_1", "label":"Your Parammeter #1", "type":"text", "value":"0", "validator":"required; validateNumber; validateMin 10; validateMax 1000;" },
{"name":"your_parameter_2", "label":"Your Parammeter #2", "type":"text", "value":"5", "validator":"required; validateInteger; validateMin 1; validateMax 5;" }
],
"creator": "name_of_the_function_which_the_exchange_will_invoke_to_create_an_instance_of_your_algo",
"destructor": "name_of_the_functions_which_the_exchange_will_invoke_when_destroying_the_instance_of_your_algo",
"permissions": ["notification", "balance", "execution_report", "new_order_limited", "cancel_order"]
}
-----END ALGO DEFINITION-----
-----BEGIN ALGO-----
// define a class that implements the following interface [interface](https://github.com/blinktrade/algorithm-trading/blob/master/algorithm_interface.js) here
function name_of_the_function_which_the_exchange_will_invoke_to_create_an_instance_of_your_algo() {
return new MyAlgo();
}
function name_of_the_functions_which_the_exchange_will_invoke_when_destroying_the_instance_of_your_algo(instance_of_my_algo) {
delete instance_of_my_algo;
}
-----END ALGO-----
How does it work
The exchange expects you to create a javascript class that implements the following interface
List of exchanges running blinktrade platform
관련 프로젝트 살펴보기
불러오는 중…