Na gaya muku yadda ake shigar da opexbot akan Windows anan . Idan kun riga kun shigar da opexbot, to tambaya za ta taso game da sabunta shi ta yadda sabbin ayyukan robots na kasuwanci su kasance. Akwai hanyoyi biyu da rabi. Atomatik, manual da reinstallation.
1. Sake shigarwa
Bari mu fara da na ƙarshe. Don ɗaukakawa, kuna share tsohuwar babban fayil ɗin da aka shigar da opexbot kuma a sake shigar da shi. Har yanzu akan layin umarni ɗaya, je zuwa babban fayil ɗin da kuka shigar da opexbot. Kuna share shi kuma yanayin wannan hanyar shine bayan shigarwa kuna buƙatar sake shigar da lambar kunnawa da alamar Tinkoff api.
2. Reinstallation yayin adana saituna
Fayilolin saitin suna cikin opexbot/node_modules/tinkofftradingbotconnector/data/
. Kafin sake sakawa, adana ko dai duk abinda ke cikin babban fayil ɗin ko tokens.json
. Na gaba, sake shigar kamar yadda yake cikin sakin layi na baya kuma dawo da fayilolin.
3. Atomatik
Inda babban fayil ɗin opexbot yake, aiwatar da umarnin wget https://opexflow.com/updatelocalbot -O updatelocalbot.sh
Sannan gudanar da fayil ɗin kanta tare da umarnin ./updatelocalbot.sh
Zai sabunta Opexbot yayin adana saitunan. Kuma idan ba a shigar da opexbot ba, zai shigar kuma ya kaddamar.