Learning Web Development (5)

C# Development, Learning web development
So now I dove a bit into the Gekko docs and it seems fairly simple to create a strategy. This is the thing that outputs the trading advice to Gekko. The tutorials I used are: https://www.youtube.com/watch?v=6-74ZhrG0BE&t=1456s and https://gekko.wizb.it/docs/strategies/creating_a_strategy.html My strategy looks like this (just outputting some trivial things like in the youtube demo): The JavaScript function from the strategy.. The output Gekko can make use of strategies using all kinds of algorithms, but I don't want that. I want to decide each day if I want to buy or sell on a specific input. For this I wrote a Web Api endpoint in C#. For my first test, like I showed you in the previous post, this just takes in an integer parameter and outputs a dummy object. I've changed…
Read More
Learning Web Development (3)

Learning Web Development (3)

C# Development, Learning web development
Creating Entities Before I do anything else, I need to create the entity that gets saved to the database. I called this entity "Condition", but I think the word "Rule" is more appropriate since I need to store not only a condition but also the value that is used by the condition, and maybe some other data as well. Separate Functionality into Projects I like to organize different parts of software I write into different projects in Visual Studio: this way each project is responsible for its own set of tasks and I can reference these projects from new projects. For instance, I can create a website, a console application or a Windows Service and allow these to use the same existing set of core classes, datalayer, et cetera. Using…
Read More

Customizing SAP PowerDesigner Object Templates

SAP PowerDesigner, Tools
  Last week I ran into an issue when creating a stored procedure in a SAP PowerDesigner Physical Data Model. After creating the stored procedure and viewing it in the preview window I noticed something was looking odd: the create procedure statement was showing a pair of empty brackets after the procedure name. Empty brackets in a create proc statement? After running the create statement in SSMS, SQL Server confirmed my suspicion by throwing a syntax error: SQL Says No Next, I investigated the stored procedure body in the editor and found that apparently, PowerDesigner's default SQL Server template for stored procedures features a pair of brackets around the stored procedure parameters. Procedure parameters parameter, enclosed by brackets.. Of course, I tried manually deleting them but this was no use…
Read More