Sample MM TypeScript bot

Always working hard for your dream :slightly_smiling_face: thanks a lot, will try it out!

Can someone explain to non tech persona like me what is this about and what/how is used for? Sorry for ignorance and many thanks in advance. Will get smarter, that is a promise.

No excuses! Sleep is overrated! :joy:

In simple words, it’s a trading bot to automate trading on NASH. But you might need some Javascript/Typescript knowledge to make it work. And as Canesin said, this is not the actual trading bot project they are working on.

1 Like

Thank you Crome. And that “actual trading bot project they are working on”… will there be possible any time in a future for guys like me with no script knowledge to run a bot on Nash?

1 Like

You can find a discussion about bots here. Also check the YouTube link in the post of Oldsport.

I think (hope) they will eventually build something that can be used by everyone. And if not maybe someone from the community will build something on top of it to make it more accessible. Think of the casino app that Oldsport created. Underneath this is also a trading bot.

2 Likes

What I meant is that as time passes in the night ones code get better so he starts to not implement tests and everything just works /s

1 Like

I understand :wink:

Maybe you all should program at night. I mean, who needs tests anyway :joy:

3 Likes

Some’ like that?

image

6 Likes

“Complete step-by-step guide on running a Nash trading bot via VPS” by Nick

10 Likes

Awesome! Thanks Nick, will be looking into it as soon as i get home! This was exactly what i was waiting on. :smiley:

3 Likes

Hi Nick. Awesome guide and well written. I’d love to run a Bot and leave it to trade automatically. I was thinking of trying it out on a Raspberry Pi3 I have hooked up in the garage, with a form of 64bit Linux I have running on it. Do you think I’ll be able to give it a try using this guide and factoring out the VPS section (just installing it directly onto the Pi)? Thanks.

3 Likes

Hi all.

I was wondering if anybody can help me please? I have installed the bot and dependencies on my Pi3 under 64 bit Ubuntu and keep getting this error message when I try to run the bot. I have put the API Key file in the correct place and followed Nick’s guide, which is why I’m so puzzled that it’s throwing up this error for me.

Many thanks.

Is your 2FA still enabled? (that was one of the problems i’ve encountered with the previous mm-bot)

This issue occurred in the previous mm bot because the legacy login was used. Now only MPC API keys are used, so this is no longer a concern.

@TheDude A decent screenshot would help!
Have you checked if the file index_linux.node exists? If it does, your error could be coming from a permission problem. Could you run:

ls -l /home/ubuntu/node_modules/@neon-exchange/nash-protocol/build/main/native

and report back?

1 Like

Hi Nick. That is a good point. It actually still is enabled, so I will disable it first and report back. Thank you for getting back to me.

1 Like

Hi Oldsport. Apologies about the screen shot, I had to pop out of the house and took it in haste. I hoped that it could be zoomed into and that someone would be able to see at least some snippet of the error code and know what it is referencing. I’ll see if I can take a better screenshot soon after dinner.

I’m sure that I did check as to whether that file exists and I remember seeing it. I’ll check again when I get a chance later on and will run the line you provided above and report
back.

Thank you for your help.

Hi again. I initially installed everything to the pingpong folder within my home directory, so just slightly altered your terminal code to reflect. Attached is the screen that appeared in the terminal after entering that code. Hopefully you’ll come to notice it to be considerably better in quality compared to the last rushed screenshot! Haha! Many thanks.

Isn’t this because you running on rpi3, arm64? Not sure if arm64 is supported.