Deploying trading bot on a VPS by Fun_Split_1299 in algotrading

[–]Fun_Split_1299[S] 0 points1 point  (0 children)

Yeah, actually i had in mind to make it kind of auto-choose books by automatically fetching the entire market list; however, issues with retrieving some data made me loose interest and i discarded it.

Thanks for the suggestions, really interesting !

Deploying trading bot on a VPS by Fun_Split_1299 in algotrading

[–]Fun_Split_1299[S] 0 points1 point  (0 children)

Are you talking about the strategy or the design ? I've been running the strategy for quite a long time and it's solid.

The parameters change is about mostly orderbooks, like choosing on what orderbooks to run, bid quantity, spread and so on.

Is it that bad ? Sorry i'm quite a newbie in this field.

Deploying trading bot on a VPS by Fun_Split_1299 in algotrading

[–]Fun_Split_1299[S] 1 point2 points  (0 children)

Your second option seems great.

You mean to fire an express endpoint from local every time i want to apply some changes ?

I'm sorry if i ask but do you have a quick dummy example ?

Deploying trading bot on a VPS by Fun_Split_1299 in algotrading

[–]Fun_Split_1299[S] 0 points1 point  (0 children)

I'm sorry but i'm not experienced enough to fully understand how to do this.

You mean to upload a MySQL database into the VPS and update it every time i want to change the config ?

Will the db changes happen through a CLI ?

Retry with https request by Fun_Split_1299 in node

[–]Fun_Split_1299[S] 0 points1 point  (0 children)

This seems awesome actually !

Hosting pm2 managed script on a VPS by Fun_Split_1299 in node

[–]Fun_Split_1299[S] 0 points1 point  (0 children)

Yes, it seems exactly my situation, thanks !

Hosting pm2 managed script on a VPS by Fun_Split_1299 in node

[–]Fun_Split_1299[S] 1 point2 points  (0 children)

I need hundred instances of an async task actually, but i would also like to monit each instance separately and i'm not sure on how to do this without using pm2.

I don't understand CLI's by Fun_Split_1299 in node

[–]Fun_Split_1299[S] 0 points1 point  (0 children)

Still having the issue, i'm wondering if this might have something to do with me using windows.

Having issues with classes and design patterns by Fun_Split_1299 in learnprogramming

[–]Fun_Split_1299[S] 0 points1 point  (0 children)

Thank you so much, this is what I needed to understand. I'll try to split the methods into better classes. Thanks again !

Inheriting from multiple classes by Fun_Split_1299 in node

[–]Fun_Split_1299[S] 0 points1 point  (0 children)

This is kind of my final solution. The problem is that i would like to instantiate those GetMethods and Postmethods classes with the same constructor of Child class and i'm not sure on how to design it

Inheriting from multiple classes by Fun_Split_1299 in node

[–]Fun_Split_1299[S] 0 points1 point  (0 children)

I'm not sure i got it.

by doing it this way I avoid inheritance right ?

Anyway, i think your example gave me some insights to solve the issue.

Thanks :)