-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from jkotra/2.0
algoticks 2.0
- Loading branch information
Showing
31 changed files
with
1,080 additions
and
916 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
int load_callbacks(algoticks_config config); | ||
int load_callbacks(algoticks_config *config); | ||
int send_callbacks(algoticks_event events); | ||
int close_callbacks(); | ||
algoticks_event make_event_from_positionresult(algoticks_positionresult positionresult); | ||
algoticks_event make_event_from_signal(algoticks_signal signal); | ||
algoticks_event make_event_from_position(algoticks_row pos_storage, algoticks_dashboard dashboard); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/* Declarations */ | ||
float getPnL(algoticks_dashboard dashboard); | ||
void print_dashboard(algoticks_settings settings,algoticks_config config,algoticks_dashboard dashboard); | ||
void print_dashboard(algoticks_settings *settings,algoticks_config *config,algoticks_dashboard dashboard); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/* Declarations */ | ||
void debug_msg(algoticks_settings settings, int debug_level, char *op, char *loc, char *remarks); | ||
|
||
void debug_msg(bool settings_debug, int settings_debug_level, int msg_debug_level, char *file_name, const char *function, int line_n, char *message); | ||
void debug_msg_simple(char* msg); | ||
/* struct debug */ | ||
void print_config_struct(algoticks_config config); | ||
void print_dashboard_struct(algoticks_dashboard dashboard); | ||
void print_signal_struct(algoticks_signal signal); | ||
void print_simresult_struct(algoticks_simresult simresult); | ||
void print_row_struct(algoticks_row row); | ||
void print_config_struct(algoticks_config *config); | ||
void print_dashboard_struct(algoticks_dashboard *dashboard); | ||
void print_signal_struct(algoticks_signal *signal); | ||
void print_simresult_struct(algoticks_simresult *simresult); | ||
void print_row_struct(algoticks_row *row); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
algoticks_settings parse_settings_from_json(char *filename); | ||
algoticks_config parse_config_from_json(char *filename); | ||
algoticks_benchmarkconfig parse_benchmark_from_json(char *filename); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/* Declarations */ | ||
algoticks_simresult run_sim(algoticks_settings settings, algoticks_config config); | ||
algoticks_positionresult take_position(algoticks_signal signal, FILE *fp, int curr, algoticks_settings settings, algoticks_config config,algoticks_row lastrow); | ||
algoticks_simresult run_sim(algoticks_settings *settings, algoticks_config *config); | ||
algoticks_positionresult take_position(algoticks_signal signal, FILE *fp, int curr, algoticks_settings *settings, algoticks_config *config,algoticks_row lastrow); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/* Declarations */ | ||
algoticks_simresult run_sim_w_derivative(algoticks_settings settings, algoticks_config config); | ||
algoticks_positionresult take_position_w_derivative(algoticks_signal signal, FILE *index_f, FILE *derivative_f, algoticks_settings settings, algoticks_config config, algoticks_row lastrow); | ||
algoticks_simresult run_sim_w_derivative(algoticks_settings *settings, algoticks_config *config); | ||
algoticks_positionresult take_position_w_derivative(algoticks_signal signal, FILE *index_f, FILE *derivative_f, algoticks_settings *settings, algoticks_config *config, algoticks_row lastrow); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.